public override int GetNumConstraintRefs(BulletBody pBody) { RigidBody body = (pBody as BulletBodyXNA).rigidBody; return body.GetNumConstraintRefs(); }