Local Rigidbody.AddTorque?

I want to use Rigidbody.AddTorque to turn a wheel. However,

rigidbody.AddTorque (0.0, 0.0, torqueValue);

applies torque in the global z vector. I want it to apply it in the local z vector. What do I add to the code to accomplish this? In JavaScript, please!

I know it’s a simple question, but nonetheless, the documentation is nowhere near sufficient to answer this question.

(Yes, I’ve searched the resources and community, and yes I know about wheel colliders) :slight_smile:

Any answer is appreciated!