Call the "Create Single Convex Collision Sibling" from a script

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Tallawk

Hello, I’m trying to get some quick and dirty automation done around the making of collision shapes, and would really like to know if and how to call on the editor’s “Create Single Convex Collision Sibling” (and other features) from a tool script.
I’ve written up an ugly tool that re-arranges imported MeshInstances under StaticMesh instances on the tree more or less the way I would like them. There’s a LOT of them, and a lot more of meshes that describe collision hulls that I want to automate the conversion to Convex Shapes. Plz, the time trimming all this data by hand is killing me.

Ha. After looking through the source code for the editor, I found it. I didn’t expect it to be a part of the engine itself. I assumed it was a tool function built in to the editor.

Tallawk | 2021-08-26 14:23