How can i disable ALL the impulses, forces, speed, motions of an object and make him a simple inert body READY FOR FURTHER motion “clean” vectors?
This is the simple problem and try to be as explicit.
I have a sphere created in Away3DPhysics.
var bodyBull:AWPRigidBody = new AWPRigidBody(_sphereShape, sphere, 20);
And i have applied an impulse to it from, let say, zero coordonates:
bodyBull.position = new Vector3D(0, 0, 0 );
bodyBull.applyCentralImpulse(new Vector3D(x1, y1, z1))
Now, let say, i want to RE-USE the same sphere and i want to “RE LAUNCH” it again from the same zero point
bodyBull.position = new Vector3D(0, 0, 0 );
bodyBull.applyCentralImpulse(new Vector3D(x2, y2, z2))
BUT THE SPHERE KEEP HAVE THE SPEED AND THE IMPULSE FROM THE FIRST LAUNCH…and the new launching will have, in fact, a double impulse….
So, HOW I CAN
“FREEZE”
“DEACTIVATE”
“DELETE”
.....ALL THE PREVIOUS IMPULSE CHARACTERISTICS, and RE-USE the same sphere from ZERO speed, impulse, force, velocity, etc, etc…etc…