• Products
    • Isadora
    • Get It
    • ADD-ONS
    • IzzyCast
    • Get It
  • Forum
  • Help
  • Werkstatt
  • Newsletter
  • Impressum
  • Dsgvo
  • Press
  • Isadora
  • Get It
  • ADD-ONS
  • IzzyCast
  • Get It
  • Press
  • Dsgvo
  • Impressum

Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags

    ​proximty detection of 2 shapes

    How To... ?
    logic actors motion tracking eyes eyes++
    3
    4
    1679
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • I
      inst last edited by Woland

      Hi,

      I have 2 shapes that move. Now I want to trigger an action, if the shapes come closer.

      I tried it with the [eye] actor by looking the row/col. next to the XY position of shape 1 and compare this to shape 2. - But this a lot of comparing work. So may be - there is a simpe way to check if, there one shape is close to the other one by cheking the XY position of shape 1 and shape 2.

      thanks for a hint!

      best,
      fränk

      1 Reply Last reply Reply Quote 0
      • dbini
        dbini last edited by

        using Eyes ++ you can make use of the object count function. if your 2 shapes are close enough together, they will become 1 shape. also, there is a blob proximity actor if you need more detailed data on the distance between the 2 shapes.

        John Collingswood
        taikabox.com
        2019 MBPT 2.6GHZ i7 OSX15.3.2 16GB
        plus an old iMac and assorted Mac Minis for installations

        1 Reply Last reply Reply Quote 0
        • R
          Reinhard last edited by

          Hi,

          done that. Simply subtract the x and y values of your shapes. With the following 'inside range' you can define the distance when something should happen. With two times 1 the 'logical calculator' will output 1 and trigger whatever you like.

          best

          r

          mbp 16", 2021, m1pro, 16gb, 12.6 / 6core trashcan, 11.2 / youngest Izzy

          I 1 Reply Last reply Reply Quote 1
          • I
            inst @Reinhard last edited by

            @reinhard

            Great thanks for this! I will try it out.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post