You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How can I limit the linear and angular velocity of a rigid body ? Right now if I apply torque and force to the mass center it will just gain energy. I tried to do this:
It doesn't have any effect, unless I set it to 0, which completely disables any movement/rotation.
Also it it possible to compute the G-forces exerted on a rigid body during rotation/movement ?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
How can I limit the linear and angular velocity of a rigid body ? Right now if I apply torque and force to the mass center it will just gain energy. I tried to do this:
obj_body->setLinearLockAxisFactor({ _fm->limits.max_linear_velocity, _fm->limits.max_linear_velocity, _fm->limits.max_linear_velocity });
obj_body->setAngularLockAxisFactor({ 0.25f, 0.25f, 0.25f });
It doesn't have any effect, unless I set it to 0, which completely disables any movement/rotation.
Also it it possible to compute the G-forces exerted on a rigid body during rotation/movement ?
Beta Was this translation helpful? Give feedback.
All reactions