I’m using the box2dflash library to create a game, and so far I’ve been using “SetPosition” to instantly move a body from one place to another… the problem is that it obviously skips affecting other bodies when I do this. I have the body set to bullet… now I just need to know how I calculate the force(?) to get the body to the exact coordinates that I need to move it to… preferably after only a single frame.
How would I go about doing this in box2d properly?
You could SetLinearVelocity to the difference between the current location and the destination, multiplied by your frames per second. That should get the body there in one frame, then you will need to stop it! SetLinearVelocity again to zero would work.