Function physx_sys::PxDistanceJoint_setMaxDistance_mut
source · pub unsafe extern "C" fn PxDistanceJoint_setMaxDistance_mut(
self_: *mut PxDistanceJoint,
distance: f32
)
Expand description
Set the allowed maximum distance for the joint.
The maximum distance must be no less than the minimum distance.
Default 0.0f Range [0, PX_MAX_F32)