Hello,
Our art team often uses the “Mesh to Collision” modeling tool to generate convex decompositions.
This tool causes warnings on some assets.
LogChaos: Warning: Convex hull generation produced zero convex particles, collision will fail for this primitive.
LogPhysics: Warning: TConvex Name:BodySetup /Game/Environment/SM_Example.SM_Example:BodySetup_0, Element [104] has no Geometry
I’ve identified the cause to be in “void FConvexBuilder::Build”, there’s logic to detect if the verts form a plane.
This is implemented in “static bool IsPlanarShape” and will fail if the first 3 verts in the set are colinear.
The algorithm builds a plane off of the first 3 verts and works from there. If they are colinear, it’s not able to build the plane properly.
In that case, the function IsPlanarShape returns true but provides a zero vector as the plane normal.
Regards,
[Attachment Removed]