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

SetInvInertiaDiagLocal() public method

public SetInvInertiaDiagLocal ( BulletBody pBody, Vector3 inert ) : void
pBody BulletBody
inert Vector3
return void
        public override void SetInvInertiaDiagLocal(BulletBody pBody, Vector3 inert)
        {
            RigidBody body = (pBody as BulletBodyXNA).rigidBody;
            IndexedVector3 iv3 = new IndexedVector3(inert.X, inert.Y, inert.Z);
            body.SetInvInertiaDiagLocal(ref iv3);
        }
BSAPIXNA