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

AddConstraintRef() public method

public AddConstraintRef ( BulletBody pBody, BulletConstraint pConstraint ) : void
pBody BulletBody
pConstraint BulletConstraint
return void
        public override void AddConstraintRef(BulletBody pBody, BulletConstraint pConstraint)
        {
            RigidBody body = (pBody as BulletBodyXNA).rigidBody;
            TypedConstraint constrain = (pConstraint as BulletConstraintXNA).constrain;
            body.AddConstraintRef(constrain);
        }
BSAPIXNA