OgreMage
11-04-2008 03:01:06
Hi, I am using NxOgre with PhysX.
I apply addForce to a sphere, then I want to have it stop on command. How can I set the force to 0, i.e. clear the physics. Do you know what I mean?
I hope you can help.
Thank you very much.
betajaen
11-04-2008 11:12:59
Set the linear and angular velocity to zero.
OgreMage
04-05-2008 16:31:45
Thank you, as expected, worked perfect. In fact for my case, I am able to only set the linear velocity to 0 and its stopping.
So my question is:
1. what is the difference between Anglular Velocity and Linear Velocity?
2. how do I *stop* the Torque force applied? Is it the Angular Velocity?
3. is there any point in every clearing the Angular/Linear MOMENTUM? It says its the Velocity * Mass. Or even using it?
Thank you dearly. I hope this topic helps others in the future as well.
Respectfully,
OM
betajaen
04-05-2008 16:44:47
How I think of is this. Imagine your in a space shuttle in orbit, you've just gotten out your seat and can feel the weightlessness. Your co-pilot Captain Betajaen pushes you. You start to spin and move away. The Spinning is the Angular Velocity and the Linear Velocity is you moving away from the Captain in a straight line.
That should answer your questions.
OgreMage
04-05-2008 16:54:13
Thank you Captain! Marking SOLVED!