public btRotationalLimitMotor(btRotationalLimitMotor limot) : this(BulletPINVOKE.new_btRotationalLimitMotor__SWIG_1(btRotationalLimitMotor.getCPtr(limot)), true) { if (BulletPINVOKE.SWIGPendingException.Pending) { throw BulletPINVOKE.SWIGPendingException.Retrieve(); } }
public btRotationalLimitMotor getRotationalLimitMotor(int index) { global::System.IntPtr cPtr = BulletPINVOKE.btGeneric6DofConstraint_getRotationalLimitMotor(swigCPtr, index); btRotationalLimitMotor ret = (cPtr == global::System.IntPtr.Zero) ? null : new btRotationalLimitMotor(cPtr, false); return(ret); }
public int get_limit_motor_info2(btRotationalLimitMotor limot, btTransform transA, btTransform transB, btVector3 linVelA, btVector3 linVelB, btVector3 angVelA, btVector3 angVelB, btTypedConstraint.btConstraintInfo2 info, int row, btVector3 ax1, int rotational) { int ret = BulletPINVOKE.btGeneric6DofConstraint_get_limit_motor_info2__SWIG_1(swigCPtr, btRotationalLimitMotor.getCPtr(limot), btTransform.getCPtr(transA), btTransform.getCPtr(transB), btVector3.getCPtr(linVelA), btVector3.getCPtr(linVelB), btVector3.getCPtr(angVelA), btVector3.getCPtr(angVelB), btTypedConstraint.btConstraintInfo2.getCPtr(info), row, btVector3.getCPtr(ax1), rotational); if (BulletPINVOKE.SWIGPendingException.Pending) { throw BulletPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(btRotationalLimitMotor obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }