Change Inertia of rigidbody (Ixy)

Hi, I’m simulating the dynamics of an aircraft and I need to specify the inertia values (to get the correct rotation rates)

I have Ixx, Iyy and Izz which I assume are the rigidbody.inertiaTensor.x, …y and .z respectively.

However, I also need to set the cross moment of inertia Ixy.

Does anybody know how this can be done?

This can’t be done. Unity specifies the moment of inertia as a diagonal tensor where each value specifes the moment of inertia around one of the principal axes. The actual axes system is rotated by the inertiaTensorRotation quaterion. Every moment of inertia should be representable that way. Unity does not use an actual 3x3 tensor so you can’t set it’s members. Read the last sentence of the introduction

Note that Unity’s physics system does not preserve angular momentum but only angular velocity. So there’s no gyration like shown at the end of this video