Add simple collisions to a static mesh. This method replicates what is done when invoking menu entries "Collision > Add [...] Simplified Collision" in the Mesh Editor.
Target is Editor Static Mesh Library
|
In
Exec
|
|
|
Static Mesh
Static Mesh Object Reference
|
Mesh to generate simple collision for. |
|
Shape Type
EScriptingCollisionShapeType Enum
|
Options on which simple collision to add to the mesh. |
|
Apply Changes
Boolean
|
Indicates if changes must be apply or not. |
|
Out
Exec
|
|
|
Return Value
Integer
|
An integer indicating the index of the collision newly created. A negative value indicates the addition failed. |