This project has moved. For the latest updates, please go here.

Why does this body fall?

Aug 5, 2008 at 10:46 PM
Edited Aug 5, 2008 at 10:49 PM
I've created two bodies, where one is always directly on top (layer wise) of the other. In order to do this, I just have created an update method for one body to set its position always to the position of the other body. This works somewhat well, except that for whatever reason, the second body droops to gravity, even though its position is being updated to the other's position every frame.

EDIT: When I don't put the physics simulator in the BodyFactory for the dependent body, it works fine, but what if I were to want in the future to add it to the physicsSimulator?