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

ApplyImpulse() public method

public ApplyImpulse ( BulletBody pBody, System.Vector3 imp, System.Vector3 pos ) : void
pBody BulletBody
imp System.Vector3
pos System.Vector3
return void
        public override void ApplyImpulse(BulletBody pBody, Vector3 imp, Vector3 pos)
        {
            RigidBody body = (pBody as BulletBodyXNA).rigidBody;
            IndexedVector3 impiv3 = new IndexedVector3(imp.X, imp.Y, imp.Z);
            IndexedVector3 posiv3 = new IndexedVector3(pos.X, pos.Y, pos.Z);
            body.ApplyImpulse(ref impiv3, ref posiv3);
        }
BSAPIXNA