Struct physx_sys::PxSolverContactDesc
source · #[repr(C)]pub struct PxSolverContactDesc {Show 30 fields
pub invMassScales: PxConstraintInvMassScale,
pub desc: *mut PxSolverConstraintDesc,
pub body0: *const PxSolverBody,
pub body1: *const PxSolverBody,
pub data0: *const PxSolverBodyData,
pub data1: *const PxSolverBodyData,
pub bodyFrame0: PxTransform,
pub bodyFrame1: PxTransform,
pub bodyState0: BodyState,
pub bodyState1: BodyState,
pub shapeInteraction: *mut c_void,
pub contacts: *mut PxContactPoint,
pub numContacts: u32,
pub hasMaxImpulse: bool,
pub disableStrongFriction: bool,
pub hasForceThresholds: bool,
pub structgen_pad0: [u8; 1],
pub restDistance: f32,
pub maxCCDSeparation: f32,
pub frictionPtr: *mut u8,
pub frictionCount: u8,
pub structgen_pad1: [u8; 7],
pub contactForces: *mut f32,
pub startFrictionPatchIndex: u32,
pub numFrictionPatches: u32,
pub startContactPatchIndex: u32,
pub numContactPatches: u16,
pub axisConstraintCount: u16,
pub offsetSlop: f32,
pub structgen_pad2: [u8; 12],
}Fields§
§invMassScales: PxConstraintInvMassScale§desc: *mut PxSolverConstraintDesc§body0: *const PxSolverBody§body1: *const PxSolverBody§data0: *const PxSolverBodyData§data1: *const PxSolverBodyData§bodyFrame0: PxTransform§bodyFrame1: PxTransform§bodyState0: BodyState§bodyState1: BodyState§shapeInteraction: *mut c_void§contacts: *mut PxContactPoint§numContacts: u32§hasMaxImpulse: bool§disableStrongFriction: bool§hasForceThresholds: bool§structgen_pad0: [u8; 1]§restDistance: f32§maxCCDSeparation: f32§frictionPtr: *mut u8§frictionCount: u8§structgen_pad1: [u8; 7]§contactForces: *mut f32§startFrictionPatchIndex: u32§numFrictionPatches: u32§startContactPatchIndex: u32§numContactPatches: u16§axisConstraintCount: u16§offsetSlop: f32§structgen_pad2: [u8; 12]Trait Implementations§
source§impl Clone for PxSolverContactDesc
impl Clone for PxSolverContactDesc
source§fn clone(&self) -> PxSolverContactDesc
fn clone(&self) -> PxSolverContactDesc
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