Universe.Physics.BulletSPlugin.BSAPIXNA.UpdateInertiaTensor C# (CSharp) Method

UpdateInertiaTensor() public method

public UpdateInertiaTensor ( BulletBody pBody ) : void
pBody BulletBody
return void
        public override void UpdateInertiaTensor(BulletBody pBody)
        {
            RigidBody body = (pBody as BulletBodyXNA).rigidBody;
            if (body != null) // can't update inertia tensor on CollisionObject
                body.UpdateInertiaTensor();
        }
BSAPIXNA