Function physx_sys::PxDistanceJoint_getTolerance
source · pub unsafe extern "C" fn PxDistanceJoint_getTolerance(
self_: *const PxDistanceJoint
) -> f32
Expand description
Get the error tolerance of the joint.
the distance beyond the joint’s [min, max] range before the joint becomes active.
Default 0.25f * PxTolerancesScale::length Range (0, PX_MAX_F32)
This value should be used to ensure that if the minimum distance is zero and the spring function is in use, the rest length of the spring is non-zero.