Esempio n. 1
0
 public btRotationalLimitMotor(btRotationalLimitMotor limot) : this(BulletDynamicsPINVOKE.new_btRotationalLimitMotor__SWIG_1(btRotationalLimitMotor.getCPtr(limot)), true)
 {
     if (BulletDynamicsPINVOKE.SWIGPendingException.Pending)
     {
         throw BulletDynamicsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 2
0
        public btRotationalLimitMotor getRotationalLimitMotor(int index)
        {
            IntPtr cPtr = BulletDynamicsPINVOKE.btGeneric6DofConstraint_getRotationalLimitMotor(swigCPtr, index);
            btRotationalLimitMotor ret = (cPtr == IntPtr.Zero) ? null : new btRotationalLimitMotor(cPtr, false);

            return(ret);
        }
Esempio n. 3
0
        public int get_limit_motor_info2(btRotationalLimitMotor limot, SWIGTYPE_p_btTransform transA, SWIGTYPE_p_btTransform transB, SWIGTYPE_p_btVector3 linVelA, SWIGTYPE_p_btVector3 linVelB, SWIGTYPE_p_btVector3 angVelA, SWIGTYPE_p_btVector3 angVelB, btConstraintInfo2 info, int row, SWIGTYPE_p_btVector3 ax1, int rotational)
        {
            int ret = BulletDynamicsPINVOKE.btGeneric6DofConstraint_get_limit_motor_info2__SWIG_1(swigCPtr, btRotationalLimitMotor.getCPtr(limot), SWIGTYPE_p_btTransform.getCPtr(transA), SWIGTYPE_p_btTransform.getCPtr(transB), SWIGTYPE_p_btVector3.getCPtr(linVelA), SWIGTYPE_p_btVector3.getCPtr(linVelB), SWIGTYPE_p_btVector3.getCPtr(angVelA), SWIGTYPE_p_btVector3.getCPtr(angVelB), btConstraintInfo2.getCPtr(info), row, SWIGTYPE_p_btVector3.getCPtr(ax1), rotational);

            if (BulletDynamicsPINVOKE.SWIGPendingException.Pending)
            {
                throw BulletDynamicsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
 public int get_limit_motor_info2(btRotationalLimitMotor limot, SWIGTYPE_p_btTransform transA, SWIGTYPE_p_btTransform transB, SWIGTYPE_p_btVector3 linVelA, SWIGTYPE_p_btVector3 linVelB, SWIGTYPE_p_btVector3 angVelA, SWIGTYPE_p_btVector3 angVelB, btConstraintInfo2 info, int row, SWIGTYPE_p_btVector3 ax1, int rotational)
 {
     int ret = BulletDynamicsPINVOKE.btGeneric6DofConstraint_get_limit_motor_info2__SWIG_1(swigCPtr, btRotationalLimitMotor.getCPtr(limot), SWIGTYPE_p_btTransform.getCPtr(transA), SWIGTYPE_p_btTransform.getCPtr(transB), SWIGTYPE_p_btVector3.getCPtr(linVelA), SWIGTYPE_p_btVector3.getCPtr(linVelB), SWIGTYPE_p_btVector3.getCPtr(angVelA), SWIGTYPE_p_btVector3.getCPtr(angVelB), btConstraintInfo2.getCPtr(info), row, SWIGTYPE_p_btVector3.getCPtr(ax1), rotational);
     if (BulletDynamicsPINVOKE.SWIGPendingException.Pending) throw BulletDynamicsPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
 public btRotationalLimitMotor(btRotationalLimitMotor limot)
     : this(BulletDynamicsPINVOKE.new_btRotationalLimitMotor__SWIG_1(btRotationalLimitMotor.getCPtr(limot)), true)
 {
     if (BulletDynamicsPINVOKE.SWIGPendingException.Pending) throw BulletDynamicsPINVOKE.SWIGPendingException.Retrieve();
 }
 internal static HandleRef getCPtr(btRotationalLimitMotor obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Esempio n. 7
0
 internal static HandleRef getCPtr(btRotationalLimitMotor obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }