Function physx_sys::PxD6Joint_setPyramidSwingLimit_mut
source · pub unsafe extern "C" fn PxD6Joint_setPyramidSwingLimit_mut(
self_: *mut PxD6Joint,
limit: *const PxJointLimitPyramid
)
Expand description
Set a pyramidal swing limit for the joint.
The pyramid limits will only be used in the following cases:
- both swing Y and Z are limited. The limit shape is then a pyramid.
- Y is limited and Z is locked, or vice versa. The limit shape is an asymmetric angular section, similar to what is supported for the twist axis. The remaining cases (Y limited and Z is free, or vice versa) are not supported.