Struct physx_sys::PxVehicleEngineData
source · #[repr(C)]pub struct PxVehicleEngineData {
pub mTorqueCurve: PxFixedSizeLookupTable_eMAX_NB_ENGINE_TORQUE_CURVE_ENTRIES_,
pub mMOI: f32,
pub mPeakTorque: f32,
pub mMaxOmega: f32,
pub mDampingRateFullThrottle: f32,
pub mDampingRateZeroThrottleClutchEngaged: f32,
pub mDampingRateZeroThrottleClutchDisengaged: f32,
pub structgen_pad0: [u8; 8],
}Fields§
§mTorqueCurve: PxFixedSizeLookupTable_eMAX_NB_ENGINE_TORQUE_CURVE_ENTRIES_§mMOI: f32§mPeakTorque: f32§mMaxOmega: f32§mDampingRateFullThrottle: f32§mDampingRateZeroThrottleClutchEngaged: f32§mDampingRateZeroThrottleClutchDisengaged: f32§structgen_pad0: [u8; 8]Trait Implementations§
source§impl Clone for PxVehicleEngineData
impl Clone for PxVehicleEngineData
source§fn clone(&self) -> PxVehicleEngineData
fn clone(&self) -> PxVehicleEngineData
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more