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