pub unsafe extern "C" fn PxArticulationFixedTendon_setRestLength_mut(
    self_: *mut PxArticulationFixedTendon,
    restLength: f32
)
Expand description

Sets the spring rest length of the tendon.

The accumulated “length” of a fixed tendon is a linear combination of the joint axis positions that the tendon is associated with, scaled by the respective tendon joints’ coefficients. As such, when the joint positions of all joints are zero, the accumulated length of a fixed tendon is zero.

The spring of the tendon is not exerting any force on the articulation when the rest length is equal to the tendon’s accumulated length plus the tendon offset.