Did it hit - Trace Detection Plugin

ProjectZero - 代码插件 - 2021/08/22

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

  • 支持的平台
  • 支持的引擎版本
    4.25 - 4.27, 5.0 - 5.1
  • 下载类型
    引擎插件
    此产品包含一款代码插件,含有预编译的二进制文件以及与虚幻引擎集成的所有源代码,能够安装到您选择的引擎版本中,并根据每个项目的需求启动。

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.

技术细节

Preview Video

Features:

  •  An actor component with simple setup
  •  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.