---
title: "Collision mesh in Unreal Engine 5: UCX_ and simple shapes"
description: "Add collision in Unreal Engine 5's Static Mesh Editor with simple shapes or Auto Convex Collision, or import convex pieces with a UCX_ prefix in the FBX."
canonical: https://appliedmanifold.com/mesh/collision-mesh-unreal/
site: "Applied Manifold: The spatial compute cloud for 3D reality"
---

1.  [Home](https://appliedmanifold.com/)
2.  [meshfx](https://appliedmanifold.com/mesh/)
3.  Collision in Unreal

meshfx // COLLISION // UNREAL

# How to add a collision mesh in Unreal Engine 5

In Unreal Engine 5 you add collision from the Static Mesh Editor's Collision menu, with simple boxes, spheres, capsules or Auto Convex Collision, or you import your own collision meshes named with a `UCX_` prefix in the FBX. Then set Collision Complexity so physics uses those simple shapes instead of every triangle of the render mesh.

[Get Free API Key](https://console.appliedmanifold.com/sign-in?next=/api-keys) [meshfx docs →](https://appliedmanifold.com/docs/mesh/)

pyrofx effects work today, and new accounts start with $5 of usage.

**MODULE // meshfx AVAILABLE**

meshfx measures faults, checks repairs and makes LODs for a triangle budget. meshfx runs on the hosted API: try it in the [Playground](https://appliedmanifold.com/playground/).

-   Collision menu: Auto Convex Collision
-   FBX prefixes: UCX\_, UBX\_, USP\_, UCP\_
-   Simple for physics, complex for traces

01 // IN THE EDITOR

## Add simple collision in the Static Mesh Editor

1.  Open the static mesh and turn on Show > Simple Collision in the toolbar to see what it has now.
2.  From the Collision menu, add a Box, Sphere or Capsule Simplified Collision for simple shapes.
3.  For irregular shapes, choose Auto Convex Collision, set Hull Count and Max Hull Verts, and click Apply.
4.  Move or scale individual shapes in the viewport if they float off the surface.
5.  In Details > Collision, set Collision Complexity to Project Default or Simple And Complex, then save.

02 // UCX\_ PREFIX

## Import your own collision with UCX\_ meshes

Model convex pieces that wrap the object in your 3D editor and name each one after the render mesh: for `SM_Crate`, use `UCX_SM_Crate_00`, `UCX_SM_Crate_01` and so on. Each piece should have no dents, because Unreal wraps any concave piece in a convex hull. Export the pieces in the same FBX and Unreal attaches them as simple collision on import.

The `UBX_`, `USP_` and `UCP_` prefixes work the same way for boxes, spheres and capsules.

03 // SIMPLE AND COMPLEX

## Simple and complex collision

Unreal keeps two kinds of collision. Simple collision is the boxes and hulls you added, used by physics and most movement. Complex collision is the render mesh itself, used for precise traces such as bullet hits.

Use Complex Collision As Simple makes physics test every triangle, which is exact and slow, and a mesh set that way cannot simulate physics. Keep it for static meshes that need exact contact. Characters use a Physics Asset of capsules and boxes on their bones instead.

04 // meshfx

## meshfx for collision in unreal

meshfx measures faults, checks repairs and makes LODs. Build physics shapes in your engine or editor. Hosted meshfx runs are available in the Playground.

05 // RELATED

## Related pages

-   [Collision in Unity AvailableAdd collision in Unity with primitive colliders or a Mesh Collider that uses its own simple mesh, and when to tick Convex.](https://appliedmanifold.com/mesh/collision-mesh-unity/)
-   [Collision in Godot 4 AvailableAdd collision in Godot 4 with Create Collision Shape or -col and -colonly import suffixes, and pick trimesh or convex shapes.](https://appliedmanifold.com/mesh/collision-mesh-godot/)
-   [LOD in Unreal AvailableGenerate and tune LODs in Unreal Engine 5's Static Mesh Editor, import your own levels, and know when Nanite replaces them.](https://appliedmanifold.com/mesh/lod-unreal/)
-   [Unreal polycount AvailableHow Nanite changes polycount in Unreal Engine 5, starting budgets for characters and other meshes without it, and how to measure.](https://appliedmanifold.com/mesh/polycount-unreal/)
-   [Collision mesh AvailableA collision mesh is a simple invisible shape that physics uses in place of the detailed model, for fast, stable collisions.](https://appliedmanifold.com/learn/collision-mesh/)
-   [Convex hull AvailableA convex hull is the tightest dent-free shape around a model, used as fast, stable collision for moving objects.](https://appliedmanifold.com/learn/convex-hull/)
-   [meshfxmeshfx reads an input model, repairs surface faults and compiles reduced GLB levels of detail for Godot, three.js or any glTF loader.](https://appliedmanifold.com/docs/mesh/)

[All pages in meshfx →](https://appliedmanifold.com/mesh/)

[← Collision in Unity](https://appliedmanifold.com/mesh/collision-mesh-unity/)[Collision in Roblox →](https://appliedmanifold.com/mesh/collision-mesh-roblox/)

06 // FAQ

## Unreal Engine collision questions

[All questions →](https://appliedmanifold.com/faq/)

**README.COLLISION\_MESH\_UNREAL**

### How do I make a custom collision mesh in Unreal Engine?

Model convex pieces, name them UCX\_ plus the render mesh name plus a number and export them in the same FBX. Unreal attaches them as simple collision.

### Why is complex collision not working in Unreal Engine?

Check Collision Complexity in the static mesh Details panel and your trace channel. A mesh set to Use Simple Collision As Complex ignores its triangles for traces.

### How do I view the collision mesh in Unreal Engine?

meshfx measures faults, checks repairs and makes LODs. Open the Static Mesh Editor in Unreal Engine to inspect simple and complex collision shapes.

### How does skeletal mesh collision work in Unreal Engine?

Skeletal meshes collide through a Physics Asset made of capsules, boxes and spheres attached to bones. Open the Physics Asset from the mesh and adjust shapes.

### Should I use simple shapes, convex hulls or a custom collision mesh in Unreal Engine?

Use boxes, spheres and capsules where they fit, Auto Convex Collision for irregular props and UCX\_ pieces when automatic hulls close off a doorway or handle.

## Explore meshfx outputs

Inspect compiled meshfx outputs and their reports. Hosted meshfx runs are available in the Playground.

[Get Free API Key](https://console.appliedmanifold.com/sign-in?next=/api-keys) [meshfx →](https://appliedmanifold.com/docs/mesh/)

[All effects, guides and explainers →](https://appliedmanifold.com/effects/)
