Add a Custom Trace Type to your Project

Content guide to creating and setting up collision geometry.

Windows
MacOS
Linux
On this page

Often you will find a need for more than just the two default Trace Response channels (Visibility and Camera), perhaps you have a special laser that needs to pass through a special opaque object that you can't see through or have the camera clip through. When you encounter a situation like this you can add your own custom Trace Response channels by following the steps below.

Steps

  1. Open your project settings: Edit Menu -> Project Settings.

    COL_projectSettings_1.png

  2. Under Engine select Collision:

    COL_projectSettings_2.png

  3. Click New Trace Channel...:

    ![](Engine\Physics\Collision\COL_addTraceChannel.png)

  4. Name your new Trace Channel and set its Default Response:

    ![](newTracePrompt.png)

    The Default Response can be Block, Overlap, or Ignore. Depending on your use case you'll want to choose carefully to prevent as much additional work adjusting collision profiles on your Actors.

  5. Click Accept.

  6. Any Blueprints open in the Blueprint Editor will have to be closed down and re-opened for the new Trace Channel to appear on any components or nodes.

Result

You'll now have a new Trace Channel to use anywhere in the editor. Any Actors or Components you want to be able to Trace with your new Channel will have to be set to block the new Channel.

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