public void updateWheelTransformsWS(btWheelInfo wheel) { BulletPINVOKE.btRaycastVehicle_updateWheelTransformsWS__SWIG_1(swigCPtr, btWheelInfo.getCPtr(wheel)); if (BulletPINVOKE.SWIGPendingException.Pending) { throw BulletPINVOKE.SWIGPendingException.Retrieve(); } }
public float rayCast(btWheelInfo wheel) { float ret = BulletPINVOKE.btRaycastVehicle_rayCast(swigCPtr, btWheelInfo.getCPtr(wheel)); if (BulletPINVOKE.SWIGPendingException.Pending) { throw BulletPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public btWheelInfo addWheel(btVector3 connectionPointCS0, btVector3 wheelDirectionCS0, btVector3 wheelAxleCS, float suspensionRestLength, float wheelRadius, btRaycastVehicle.btVehicleTuning tuning, bool isFrontWheel) { btWheelInfo ret = new btWheelInfo(BulletPINVOKE.btRaycastVehicle_addWheel(swigCPtr, btVector3.getCPtr(connectionPointCS0), btVector3.getCPtr(wheelDirectionCS0), btVector3.getCPtr(wheelAxleCS), suspensionRestLength, wheelRadius, btRaycastVehicle.btVehicleTuning.getCPtr(tuning), isFrontWheel), false); if (BulletPINVOKE.SWIGPendingException.Pending) { throw BulletPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public btWheelInfo getWheelInfo(int index) { btWheelInfo ret = new btWheelInfo(BulletPINVOKE.btRaycastVehicle_getWheelInfo__SWIG_0(swigCPtr, index), false); return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(btWheelInfo obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }