Choose your operating system:
Windows
macOS
Linux
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 Static Mesh Editor Subsystem
Select Asset
Select Asset
Box
0
|
In
Exec
|
|
|
Target
Static Mesh Editor Subsystem Object Reference
|
|
|
Static Mesh
Static Mesh Object Reference
|
Mesh to generate simple collision for. |
|
Shape Type
EScriptCollisionShapeType 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. |