playMaker

Author Topic: Trouble Using Set Velocity 2D from Point A to Point B  (Read 1288 times)

sidd4friends

  • Playmaker Newbie
  • *
  • Posts: 17
Trouble Using Set Velocity 2D from Point A to Point B
« on: June 02, 2016, 02:37:23 PM »
Suppose if I have two objects, A & B. I want to move object A from its position to B using the Set Velocity 2D action. I store the position of object B in a Vector 3 variable and input it in the Set Velocity 2D action as the target position. However, object A does not move properly. It behaves as if A is positioned on the center (0,0,0).

If I position A at 0,0,0 it moves perfectly to object B on using the above action. But if i position it to some other coordinate like (4,-3,0) or (2,4,0), it does not reaches B. I do not want to use the Translate action as I want to use physics 2d in bouncing off A after it collides with B.

Thanks for all the help.

cwmanley

  • Full Member
  • ***
  • Posts: 107
Re: Trouble Using Set Velocity 2D from Point A to Point B
« Reply #1 on: June 02, 2016, 08:41:35 PM »
Check out the Transform Point Actions.

Thanks