Function physx_sys::PxConstraint_getForce
source · pub unsafe extern "C" fn PxConstraint_getForce(
self_: *const PxConstraint,
linear: *mut PxVec3,
angular: *mut PxVec3
)
Expand description
Retrieve the constraint force most recently applied to maintain this constraint.
It is not allowed to use this method while the simulation is running (except during PxScene::collide(), in PxContactModifyCallback or in contact report callbacks).