pub unsafe extern "C" fn PxArticulationReducedCoordinate_setRootLinearVelocity_mut(
    self_: *mut PxArticulationReducedCoordinate,
    linearVelocity: *const PxVec3,
    autowake: bool
)
Expand description

Sets the root link linear center-of-mass velocity.

  • The linear velocity is with respect to the link’s center of mass and not the actor frame origin.
  • For performance, prefer PxArticulationCache::rootLinkData to set the root link velocity in a batch articulation state update.
  • The articulation is woken up if the input velocity is nonzero (ignoring autowake) and the articulation is in a scene.
  • Use updateKinematic() after all state updates to the articulation via non-cache API such as this method, in order to update link states for the next simulation frame or querying.

This call may not be made during simulation, except in a split simulation in-between [PxScene::fetchCollision] and #PxScene::advance.