I am trying to add some physics to my game with rigidBody.AddTorque(rollForce);. However the torque stays the same if rollForce (-300,0,0) or (-1,0,0). Is this normal? How can I make it roll faster?
I’m pretty sure all AddTorque does is change angularVelocity, except with those 4 hard-to-remember ForceModes. I’ve had more luck changing angularVelocity directly. Both ways only take global coords, so are both just as much a pain if you need to consider the direction of movement.
rb.angularVelocity += new Vector3(0,1,0);
should give it a small, increasing, spin.
I do not want increasing. I want constant spin.
Do whatever you want. It’s regular code and numbers. angularVelocity=x sets it, += changes it, *0.98f gives it some extra drag.
I add rigidBody.angularVelocity += new Vector3(-1f, 0,0); and rigidBody.angularVelocity += new Vector3(-100f, 0,0); and its rolling in the same pace. That isn’t expected right?
I Had to set rigidBody.maxAngularVelocity ! By default its small.