Function physx_sys::PxArticulationLink_getAngularVelocity
source · pub unsafe extern "C" fn PxArticulationLink_getAngularVelocity(
self_: *const PxArticulationLink
) -> PxVec3
Expand description
Get the angular velocity of the link.
- For performance, prefer PxArticulationCache::linkVelocity to get link spatial velocities in a batch query.
- When the articulation state is updated via non-cache API, use PxArticulationReducedCoordinate::updateKinematic before querying velocity.
The angular velocity of the link.
This call is not allowed while the simulation is running except in a split simulation during PxScene::collide
and up to #PxScene::advance(),
and in PxContactModifyCallback or in contact report callbacks.