Set Convex Decomposition Collisions with Notification

Set Convex Decomposition Collisions with Notification

Windows
MacOS
Linux

Add a convex collision to a static mesh. Any existing collisions will be removed from the static mesh. This method replicates what is done when invoking menu entry "Collision > Auto Convex Collision" in the Mesh Editor.

Target is Editor Static Mesh Library

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

Inputs

In
Exec
Static Mesh
Static Mesh Object Reference

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss