Add a Collision Hull to a Static Mesh Using the Auto Convex Collision Tool

Product documentation including reference and guides for Unreal Engine 4

Windows
MacOS
Linux
On this page

In the following How-To we will take a look at using the Auto Convex Collision tool to automatically create collision for Static Meshes.

The Auto Convex Tool also uses a newer version of V-HACD library that should give more accurate results.

Steps

  1. First open up the Static Mesh you want to add collision to in the Static Meshes Editor. For this example we will be using the SM_Rock Mesh that comes with the Starter Content. 
    HT_AddConvexHulls_01.png

  2. Next, open up the Auto Convex Collision tool by going to Window > Auto Convex Collision. This will open up the Auto Convex Collision in the lower right hand corner of the Static Mesh Editor.
    HT_AddConvexHulls_02.png 

  3. Inside of the Auto Convex Collision tool set the following parameters with the following settings:
    HT_AddConvexHulls_03.png

    Property Name

    Value

    Hull Count

    32

    Max Hull Verts

    16

    Hull Precision

    50,000

  4. When all of the above setting have been input, click the Apply button to begin the collision creation process.
    HT_AddConvexHulls_07.png 

    Computation of the collison will now run as background task in the Static Mesh Editor. The progress of the collision creation will be shown in the following progress window.
    HT_AddConvexHulls_06.png

End Result

When completed you can view the new collision,if not already enabled, by clicking on the Collision icon and then selecting the Simple Collision option from the drop down list. 

HT_AddConvexHulls_05.png

HT_AddConvexHulls_04.png

The following image sequence shows what type of results you get when increasing the values of the Auto Convex Collision from the default settings to the maximum settings allowed.

Auto Convex Collision Settings Results

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