remove_static_mesh_collision
Remove all simple/convex collision primitives from a static mesh, then rebuild and save its physics meshes; already-empty meshes are left unchanged.
Instructions
Clear ALL simple/convex collision primitives from a UStaticMesh's BodySetup (the 'clear' half of the collision CRUD). Calls UBodySetup::RemoveSimpleCollision (InvalidatePhysicsData + AggGeom.EmptyElements), rebuilds the physics meshes and saves. Reuses the same duplicate-first logic as add_simple_collision_to_static_mesh so a read-only /Engine source is copied into dest_path first. Idempotent: clearing an already-empty BodySetup (or a mesh with no BodySetup) is a no-op reported via already_empty:true.
Returns: { static_mesh_path, removed_count, element_count, collision_removed, already_empty, duplicated_to_game, saved, save_error? }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dest_path | Yes | /Game path to duplicate a read-only /Engine source mesh into first (required only when the source is not under /Game). | |
| static_mesh_path | Yes | Path to the source UStaticMesh. |