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

ApplyTorqueImpulse() public method

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