O'Reilly logo

Unreal Engine 4 Game Development Essentials by Satheesh PV

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating collision meshes

You can create collision meshes and export them with your asset. Unreal Engine 4 provides a collision generator for static meshes but there are times when we have to create our own custom collision shapes especially if the mesh has an opening (such as doors or walls with window cutouts). In this section, we will see both options.

Tip

Collision shapes should always stay simple because it is much faster to calculate simple shapes.

Custom collision shapes

Collision meshes are identified by Unreal importer based on their names. There are three types of collision shapes that you can define. They are as follows:

  • UBX_MeshName: UBX stands for Unreal Box and as the name says, it should be in a box shape. You cannot move the vertices ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required