Convex decomposition can panic #645
Labels
A-Collision
Relates to the broad phase, narrow phase, colliders, or other collision functionality
P-Crash
A sudden unexpected crash
Hi, I have been running into some panics with
Collider::convex_decomposition_from_mesh_with_config
. There are some settings (like resolution) that just do not agree with certain models, and instead of returning None it panics. I have the builtin monkey model from blender, and I've been able to crash it with a lot of random resolutions like 13. It isn't very reproducible though so I just try random values until it crashes. I ended up making a wrapper function that does the V-HACD in apanic::catch_unwind
but I feel this function should at least mention that it can panic.Thanks!
The text was updated successfully, but these errors were encountered: