Function physx_sys::PxCapsuleGeometry_isValid
source · pub unsafe extern "C" fn PxCapsuleGeometry_isValid(
self_: *const PxCapsuleGeometry
) -> bool
Expand description
Returns true if the geometry is valid.
True if the current settings are valid.
A valid capsule has radius > 0, halfHeight >= 0. It is illegal to call PxRigidActor::createShape and PxPhysics::createShape with a capsule that has zero radius or height.