Function physx_sys::PxBoxGeometry_isValid
source · pub unsafe extern "C" fn PxBoxGeometry_isValid(
self_: *const PxBoxGeometry
) -> bool
Expand description
Returns true if the geometry is valid.
True if the current settings are valid
A valid box has a positive extent in each direction (halfExtents.x > 0, halfExtents.y > 0, halfExtents.z > 0). It is illegal to call PxRigidActor::createShape and PxPhysics::createShape with a box that has zero extent in any direction.