- Home /
what does rigidbody.AddTorque do when the ForceMode is set to Velocity change?
Just like the title asks, I want somebody t explain to me what veocitychange mode does for torques.
I know that
rb.AddForce(newVelocity, ForceMode.VelocityChange)
creates a a force that brings the rigidbody up to the speed of newVelocity; however, the distinction here is that normal AddForce takes a force as an argument, but now in velocitychange is takes a velocity. So, is the same true for AddTorque? Do I need to input an angular velocity instead of a torque vector when it is in velocitychange mode? like,
rb.AddTorque(newAngularVelocity, ForceMode.VelocityChange)
If so, is it in units of radians per second or degrees per second? There is no documentation about this. I my assumptions about this are creating wildly unpredictable results.
Your answer
Follow this Question
Related Questions
How do I stop a rigidbody from rotating after colliding with another object? 1 Answer
Object is passing from colliders when swipe with rigidbody.position 1 Answer
Ridigbody.AddForce making player teleport 1 Answer
Rigidbody movement with turns for a one wheeled motor cycle. 0 Answers
Collider bounds wrong after a while 1 Answer