Hi,
I’m trying to draw a path for a physics body traveling in a straight line. And the line should reflect when it encounter a physics body. It is easy when it’s just 4 straight walls on the boundary as it’s just simple trigonometry. However, I don’t know how to find out if there’s a physics body along this path. Cause if it does then the line would have to reflect.
Hint?
Thanks [import]uid: 11004 topic_id: 3576 reply_id: 303576[/import]