pub unsafe extern "C" fn PxRigidBodyExt_computeLinearAngularImpulse(
body: *const PxRigidBody,
globalPose: *const PxTransform,
point: *const PxVec3,
impulse: *const PxVec3,
invMassScale: f32,
invInertiaScale: f32,
linearImpulse: *mut PxVec3,
angularImpulse: *mut PxVec3
)
Expand description
Computes the linear and angular impulse vectors for a given impulse at a world space position taking a mass and inertia scale into account
This function is useful for extracting the respective linear and angular impulses from a contact or joint when the mass/inertia ratios have been adjusted.