
Well i basicly want to slow down rotation and movement.
Now i know that i can use the rotational drag and linear drag to do this but i want to be able to set those to variables using a float from 0 to 1 (0 being no drag and 1 being unable to rotate) and the same for movement.
Does anyone know the math to work out what to set the drags too?
Obviosly the mass of the object would have something to do with what the rotational drag would have to be set too to stop it rotating.
Also the other problem is if the rotational drag is too high then the engine crashes with a nan error. which is why i need to figure out the math to calculate the perfect drag to set based on a float from 0 to 1.


Coordinator
Oct 18, 2009 at 1:44 AM

Robertdodd uploaded a
patch that contains a motor enabled revolute joint. See if that fit your needs.



I have motors that work but im trying to just slow down rotation using the rotational drag. Or am i missing something here?
how would a motor revolute joint solve this?



Does anyone have any ideas
At the moment i am trying to slow rotation by dividing the rotational momentum by a certain amount each frame (12) to slow objects or let them go full speed.
Anyone got any better ideas?



How about modifying the moment of inertia?

