0
1

Hey guys, how do I make two objects move towards each other?

  • You must to post comments
0
1

Click on the object in the scene and then you can set each one's "Linear Velocity" to whichever direction you want it to go.  On the X axis (left/right) you will put in a negative number to move left and a positive number to move right.  The second set of numbers is the Y value.  A combination of the X and Y moves the object at a diagonal.

  • madai001
    Thanks for your answer. I have tried the above with default game play. I have an obj A and obj B. Obj A's liner velocity on y is set to -5, and obj B's liner velocity on x is set to -5. Both object moves. The next step is for me to move the object A, when obj B gets near to it. How can I achieve that? I have already tried options, but seems tricky to understand where to make changes. :( Your help much appreciated! Many Thanks!
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.