public void updateWheelTransformsWS(SWIGTYPE_p_btWheelInfo wheel)
 {
     BulletDynamicsPINVOKE.btRaycastVehicle_updateWheelTransformsWS__SWIG_1(swigCPtr, SWIGTYPE_p_btWheelInfo.getCPtr(wheel));
     if (BulletDynamicsPINVOKE.SWIGPendingException.Pending)
     {
         throw BulletDynamicsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
        public float rayCast(SWIGTYPE_p_btWheelInfo wheel)
        {
            float ret = BulletDynamicsPINVOKE.btRaycastVehicle_rayCast(swigCPtr, SWIGTYPE_p_btWheelInfo.getCPtr(wheel));

            if (BulletDynamicsPINVOKE.SWIGPendingException.Pending)
            {
                throw BulletDynamicsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public SWIGTYPE_p_btWheelInfo addWheel(SWIGTYPE_p_btVector3 connectionPointCS0, SWIGTYPE_p_btVector3 wheelDirectionCS0, SWIGTYPE_p_btVector3 wheelAxleCS, float suspensionRestLength, float wheelRadius, SWIGTYPE_p_btRaycastVehicle__btVehicleTuning tuning, bool isFrontWheel)
        {
            SWIGTYPE_p_btWheelInfo ret = new SWIGTYPE_p_btWheelInfo(BulletDynamicsPINVOKE.btRaycastVehicle_addWheel(swigCPtr, SWIGTYPE_p_btVector3.getCPtr(connectionPointCS0), SWIGTYPE_p_btVector3.getCPtr(wheelDirectionCS0), SWIGTYPE_p_btVector3.getCPtr(wheelAxleCS), suspensionRestLength, wheelRadius, SWIGTYPE_p_btRaycastVehicle__btVehicleTuning.getCPtr(tuning), isFrontWheel), false);

            if (BulletDynamicsPINVOKE.SWIGPendingException.Pending)
            {
                throw BulletDynamicsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public SWIGTYPE_p_btWheelInfo getWheelInfo(int index)
        {
            SWIGTYPE_p_btWheelInfo ret = new SWIGTYPE_p_btWheelInfo(BulletDynamicsPINVOKE.btRaycastVehicle_getWheelInfo__SWIG_0(swigCPtr, index), false);

            return(ret);
        }
Exemplo n.º 5
0
 public SWIGTYPE_p_btWheelInfo addWheel(SWIGTYPE_p_btVector3 connectionPointCS0, SWIGTYPE_p_btVector3 wheelDirectionCS0, SWIGTYPE_p_btVector3 wheelAxleCS, float suspensionRestLength, float wheelRadius, SWIGTYPE_p_btRaycastVehicle__btVehicleTuning tuning, bool isFrontWheel)
 {
     SWIGTYPE_p_btWheelInfo ret = new SWIGTYPE_p_btWheelInfo(BulletDynamicsPINVOKE.btRaycastVehicle_addWheel(swigCPtr, SWIGTYPE_p_btVector3.getCPtr(connectionPointCS0), SWIGTYPE_p_btVector3.getCPtr(wheelDirectionCS0), SWIGTYPE_p_btVector3.getCPtr(wheelAxleCS), suspensionRestLength, wheelRadius, SWIGTYPE_p_btRaycastVehicle__btVehicleTuning.getCPtr(tuning), isFrontWheel), false);
     if (BulletDynamicsPINVOKE.SWIGPendingException.Pending) throw BulletDynamicsPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Exemplo n.º 6
0
 public void updateWheelTransformsWS(SWIGTYPE_p_btWheelInfo wheel)
 {
     BulletDynamicsPINVOKE.btRaycastVehicle_updateWheelTransformsWS__SWIG_1(swigCPtr, SWIGTYPE_p_btWheelInfo.getCPtr(wheel));
     if (BulletDynamicsPINVOKE.SWIGPendingException.Pending) throw BulletDynamicsPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 7
0
 public float rayCast(SWIGTYPE_p_btWheelInfo wheel)
 {
     float ret = BulletDynamicsPINVOKE.btRaycastVehicle_rayCast(swigCPtr, SWIGTYPE_p_btWheelInfo.getCPtr(wheel));
     if (BulletDynamicsPINVOKE.SWIGPendingException.Pending) throw BulletDynamicsPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }
Exemplo n.º 8
0
 public SWIGTYPE_p_btWheelInfo getWheelInfo(int index)
 {
     SWIGTYPE_p_btWheelInfo ret = new SWIGTYPE_p_btWheelInfo(BulletDynamicsPINVOKE.btRaycastVehicle_getWheelInfo__SWIG_0(swigCPtr, index), false);
     return ret;
 }
 internal static HandleRef getCPtr(SWIGTYPE_p_btWheelInfo obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Exemplo n.º 10
0
 internal static HandleRef getCPtr(SWIGTYPE_p_btWheelInfo obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }