Add Simple Collisions with Notification

Add Simple Collisions with Notification

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 Editor Static Mesh Library

Add Simple Collisions with Notification
Static Mesh
Select Asset
Shape Type
Box
Apply Changes
Return Value
0

Inputs

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.

Outputs

Out
Exec
Return Value
Integer

An integer indicating the index of the collision newly created. A negative value indicates the addition failed.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback