Hello folks,
I have 2 objects which are connected with a line using a width property, the thing is that one of this objects is moveable and between them both are several obstacles. I'd like to make this line to bounce/reflect off of these obstacles keeping the bound of object A and object B. This will give me and angle and a path which object A should follow to reach object B.
Here's a screenshot from a file provided by R0J0hound in which I have been working:
Note that object B (green box) should be the end of the path, therefore the line shouldn't go further than this point, though, it should get longer depending on the number of obstacles in-between that reflect the line.
Thanks in advance!