Function physx_sys::PxConstraint_isValid
source · pub unsafe extern "C" fn PxConstraint_isValid(
self_: *const PxConstraint
) -> bool
Expand description
whether the constraint is valid.
A constraint is valid if it has at least one dynamic rigid body or articulation link. A constraint that is not valid may not be inserted into a scene, and therefore a static actor to which an invalid constraint is attached may not be inserted into a scene.
Invalid constraints arise only when an actor to which the constraint is attached has been deleted.