This project has moved and is read-only. For the latest updates, please go here.

Translating Body To Position

Topics: User Forum
Aug 14, 2013 at 1:57 PM
Edited Aug 14, 2013 at 1:58 PM

I want to know how can I translate a body to a desired position? Let's say I have one body at the position 0;0 which its attached to a game object (from my framework) and I want to move the game object like this:
obj.Position = new Vector2((some position))
If I apply the value to the Body.Position it won't detect collisions. I've tried to ApplyForce / Impulse but that requires that I check if the position was reached. I want to know if there is a better way to do this.