pub unsafe extern "C" fn PxArticulationJointReducedCoordinate_setLimitParams_mut(
    self_: *mut PxArticulationJointReducedCoordinate,
    axis: PxArticulationAxis,
    limit: *const PxArticulationLimit
)
Expand description

Sets the joint limits for a given axis.

  • The motion of the corresponding axis should be set to PxArticulationMotion::eLIMITED in order for the limits to be enforced.
  • The lower limit should be strictly smaller than the higher limit. If the limits should be equal, use PxArticulationMotion::eLOCKED and an appropriate offset in the parent/child joint frames.

This call is not allowed while the simulation is running.

For spherical joints, limit.min and limit.max must both be in range [-Pi, Pi].