Did it hit - Trace Detection Plugin

ProjectZero - Code Plugins - Aug 22, 2021
Not Yet Rated

A detection system that determines if a collision should have happened.

  • Supported Platforms
  • Supported Engine Versions
    4.25 - 4.27, 5.0 - 5.4
  • Download Type
    Engine Plugin
    This product contains a code plugin, complete with pre-built binaries and all its source code that integrates with Unreal Engine, which can be installed to an engine version of your choice then enabled on a per-project basis.

When using the default overlapping detection methods, even with colliders, if the speed or the animation is too fast, the intended collision can be skipped entirely.

This is the case for small bullets against thin targets or weapon swinging animations that are too fast or scattered.

This system allows you to trace between positions and determine if something was hit.

The difference between this and the free plugin is that this actually comes with a complete set of parameters to use with cross-linking tracing methods. This means you will have less chances of missing the target.

The difference between this and the blueprint plugin is performance. This can be used extensively on multiple objects whereas with blueprints, it's way more costly and limited.

Technical Details

Preview Video


  •  An actor component with simple setup
  • Works with both static meshes and skeletal meshes
  •  3 methods of detection
  • high modularity by the user: can trace by objects, channels, use lines, boxes, etc.
  • can skip frames if needed to improve performance.
  • An OnItemAdded event that can be called when items are detected immediately.
  • A socket filter to exclude/include sockets by strings

Code Modules:

  • A Detection Actor Component (Runtime)

Number of Blueprints: 0

Number of C++ Classes: 1

Network Replicated: No - the detection itself does not need to be replicated.

Supported Development Platforms: Win32, Win64

Supported Target Build Platforms: Win32, Win64

Documentation: Link <<< contains all previous example projects for 4.26 and 5.0

Example Project: 5.1 Link : use key: -lA2DnKpR5h0Ug5OrEHWUEGorfPijp7Sd5sQnOvdXpg

Discord channel: https://discord.gg/VmFXeq7J9F

Important notes: Starting with 5.1, the actor component is "AC_DidItHit"; all previous versions are "AC_DitItHit". See the documentation.