public btWheelInfo(btWheelInfoConstructionInfo ci) : this(BulletPINVOKE.new_btWheelInfo__SWIG_1(btWheelInfoConstructionInfo.getCPtr(ci)), true) { if (BulletPINVOKE.SWIGPendingException.Pending) { throw BulletPINVOKE.SWIGPendingException.Retrieve(); } }
object m_clientInfo;//can be used to store pointer to sync transforms... btWheelInfo( btWheelInfoConstructionInfo& ci) { m_suspensionRestLength1 = ci.m_suspensionRestLength; m_maxSuspensionTravelCm = ci.m_maxSuspensionTravelCm; m_wheelsRadius = ci.m_wheelRadius; m_suspensionStiffness = ci.m_suspensionStiffness; m_wheelsDampingCompression = ci.m_wheelsDampingCompression; m_wheelsDampingRelaxation = ci.m_wheelsDampingRelaxation; m_chassisConnectionPointCS = ci.m_chassisConnectionCS; m_wheelDirectionCS = ci.m_wheelDirectionCS; m_wheelAxleCS = ci.m_wheelAxleCS; m_frictionSlip = ci.m_frictionSlip; m_steering = (double)( 0.0); m_engineForce = (double)( 0.0); m_rotation = (double)( 0.0); m_deltaRotation = (double)( 0.0); m_brake = (double)( 0.0); m_rollInfluence = (double)( 0.1 ); m_bIsFrontWheel = ci.m_bIsFrontWheel; m_maxSuspensionForce = ci.m_maxSuspensionForce; }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(btWheelInfoConstructionInfo obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }