Remove force from object


ist strange, i cant remove the physic from an object.

i tried clearForces, removing from physicspace and readding.

i want to reset the position of an object.

Clearforces just removes the current forces, if the node is in the air it will still fall. To reset it you will also haveto set its location.

Im setting the location, but the object still moves because of the acceleration.


im calling [java]physicsNode.getRigidBody().applyDamping(Integer.MAX_VALUE);[/java] to stop the movement.