Good Morning All,
I have an object that has bullet motion and moves in a straight line from left of the screen to right. I would like object1 to change direction when it overlaps object2 100% (they are both the same size) but I can't get it to work. If I choose object1 overlapping object2 then set angle, object1 changes direction the moment they touch but I need it to be when they are completely overlapping.
I tried to round the X's and Y's and that allowed object1 to change direction most of the time (It still didn't work every time)
I then tried something different:
If object1 X and Y = object2 X and Y then set angle.
Object1 just kept going. I set text items to the X's and Y's and I believe the problem is the motion of object1. It's X is never exactly the same as object2.
Does anyone have any other ideas?