Rigidbody.inertiaTensorRotation

Hello, I want to ask How does Rigidbody.inertiaTensorRotation work? How does it effect the behaviour of a Rigidbody? I want to predict the behaviour of AddForceAtPosition(), how do I use this?

This thread contains tons of useful information on inertiaTensor and inertiaTensorRotation:

1 Like

Here’s a little example that shows how this can affect rotation.
Let’s say you allow only y rotation (yaw):
inertiaTensor = <inf, 1, inf>

Then, you set the tensor rotation as:
Quaternion.Euler(90,0,0)

This will rotate the tensor 90 degrees along the x axis. So, the “rotated tensor” will be:
rotatedInertiaTensor = <inf, Inf, 1>

Now only z rotation (roll) is allowed.

Thank you!