Exemplo n.º 1
0
 /// <summary>This is called when a breakable joint breaks. </summary>
 /// <param name="breakingImpulse">The impulse which caused the joint to break. </param>
 /// <param name="brokenJoint">The joint which has been broken. </param>
 public virtual bool onJointBreak(float breakingImpulse, NxJoint brokenJoint)
 {
     if (doSetFunctionPointers)
     {
         throw new System.NotSupportedException("Cannot call abstract base member");
     }
     return(NxUserNotify_onJointBreak_INVOKE(ClassPointer, doSetFunctionPointers, breakingImpulse, (brokenJoint != null ? brokenJoint.ClassPointer : NullRef)));
 }
Exemplo n.º 2
0
 private bool onJointBreak_virtual(float breakingImpulse, IntPtr brokenJoint)
 {
     return(onJointBreak(breakingImpulse, NxJoint.GetClass(brokenJoint)));
 }