Struct physx_sys::PxTGSSolverContactDesc
source · #[repr(C)]pub struct PxTGSSolverContactDesc {Show 34 fields
pub invMassScales: PxConstraintInvMassScale,
pub desc: *mut PxSolverConstraintDesc,
pub body0: *const PxTGSSolverBodyVel,
pub body1: *const PxTGSSolverBodyVel,
pub body0TxI: *const PxTGSSolverBodyTxInertia,
pub body1TxI: *const PxTGSSolverBodyTxInertia,
pub bodyData0: *const PxTGSSolverBodyData,
pub bodyData1: *const PxTGSSolverBodyData,
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 maxImpulse: f32,
pub torsionalPatchRadius: f32,
pub minTorsionalPatchRadius: f32,
pub offsetSlop: f32,
}Fields§
§invMassScales: PxConstraintInvMassScale§desc: *mut PxSolverConstraintDesc§body0: *const PxTGSSolverBodyVel§body1: *const PxTGSSolverBodyVel§body0TxI: *const PxTGSSolverBodyTxInertia§body1TxI: *const PxTGSSolverBodyTxInertia§bodyData0: *const PxTGSSolverBodyData§bodyData1: *const PxTGSSolverBodyData§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§maxImpulse: f32§torsionalPatchRadius: f32§minTorsionalPatchRadius: f32§offsetSlop: f32Trait Implementations§
source§impl Clone for PxTGSSolverContactDesc
impl Clone for PxTGSSolverContactDesc
source§fn clone(&self) -> PxTGSSolverContactDesc
fn clone(&self) -> PxTGSSolverContactDesc
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