pub unsafe extern "C" fn PxArticulationReducedCoordinate_setWakeCounter_mut(
self_: *mut PxArticulationReducedCoordinate,
wakeCounterValue: f32
)
Expand description
Sets the wake counter for the articulation in seconds.
- The wake counter value determines the minimum amount of time until the articulation can be put to sleep.
- An articulation will not be put to sleep if the energy is above the specified threshold (see
setSleepThreshold
) or if other awake objects are touching it. - Passing in a positive value will wake up the articulation automatically.
Default: 0.4s (which corresponds to 20 frames for a time step of 0.02s)
This call may not be made during simulation, except in a split simulation in-between [PxScene::fetchCollision
] and #PxScene::advance.