Bulk Set Convex Decomposition Collisions with Notification

Bulk Set Convex Decomposition Collisions with Notification

Choose your operating system:

Windows

macOS

Linux

Compute convex collisions for a set of static meshes. Any existing collisions will be removed from the static meshes. This method replicates what is done when invoking menu entry "Collision > Auto Convex Collision" in the Mesh Editor.

Target is Static Mesh Editor Subsystem

Bulk Set Convex Decomposition Collisions with Notification
Target
Select Asset
Static Meshes
Hull Count
0
Max Hull Verts
0
Hull Precision
0
Apply Changes
Return Value

Inputs

In
Exec
Target
Static Mesh Editor Subsystem Object Reference
Static Meshes
Array of Static Mesh Object References

Set of Static mesh to add convex collision on.

Hull Count
Integer

Maximum number of convex pieces that will be created. Must be positive.

Max Hull Verts
Integer

Maximum number of vertices allowed for any generated convex hull.

Hull Precision
Integer

Number of voxels to use when generating collision. Must be positive.

Apply Changes
Boolean

Indicates if changes must be apply or not.

Outputs

Out
Exec
Return Value
Boolean

A boolean indicating if the addition was successful or not.