Hello everyone,
I would like to create a behaviour where a shape (in the image bellow the triangle or the arrow) attaches to any point on the perimeter of another shape (in the image bellow the rectangle and the line) as if there were a connection point.
(https://i.imgur.com/NtjIFcF.png)
Any ideas how to do it?
Thomas did something very similar in this post (http://visguy.com/vgforum/index.php?topic=4897.0) were a line connects to any point of another line. However I didn't understad exactly how it was implemented in order to replicate it...
You could try "glue to geometry":
(https://i.paste.pics/3bcbb74a09111f59bf62ad656df50fb7.png)