Function physx_sys::PxD6Joint_setLinearLimit_mut
source · pub unsafe extern "C" fn PxD6Joint_setLinearLimit_mut(
self_: *mut PxD6Joint,
axis: PxD6Axis,
limit: *const PxJointLinearLimitPair
)
Expand description
Set the linear limit for a given linear axis.
This function extends the previous setDistanceLimit call with the following features:
- there can be a different limit for each linear axis
- each limit is defined by two values, i.e. it can now be asymmetric
This can be used to create prismatic joints similar to PxPrismaticJoint, or point-in-quad joints, or point-in-box joints.