Struct physx_sys::PxSolverBodyData
source · #[repr(C)]pub struct PxSolverBodyData {
pub linearVelocity: PxVec3,
pub invMass: f32,
pub angularVelocity: PxVec3,
pub reportThreshold: f32,
pub sqrtInvInertia: PxMat33,
pub penBiasClamp: f32,
pub nodeIndex: u32,
pub maxContactImpulse: f32,
pub body2World: PxTransform,
pub lockFlags: u16,
pub pad: u16,
}
Fields§
§linearVelocity: PxVec3
§invMass: f32
§angularVelocity: PxVec3
§reportThreshold: f32
§sqrtInvInertia: PxMat33
§penBiasClamp: f32
§nodeIndex: u32
§maxContactImpulse: f32
§body2World: PxTransform
§lockFlags: u16
§pad: u16
Trait Implementations§
source§impl Clone for PxSolverBodyData
impl Clone for PxSolverBodyData
source§fn clone(&self) -> PxSolverBodyData
fn clone(&self) -> PxSolverBodyData
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