August Free Content now available!

Impact Melee Trace

darkmodegamedev - Blueprints - Jul 7, 2022

Optimized hit detection system for determining if collisions happened between frames.

  • Supported Platforms
  • Supported Engine Versions
    4.26 - 4.27, 5.0
  • Download Type
    Asset Pack
    This product contains an assortment of Unreal Engine assets which can be imported into a pre-existing project of your choice.

Melee hit detection using colliders or other overlap detection is inconsistent and can result in situations where fast attacks or low frame rates can cause attacks to miss entirely.

This system produces consistent, reliable hit detection with highly optimal performance.

It works regardless of the speed of the animation, how thin the target is, and at any playable frame rate.

The product includes multiple example blueprints that showcase different use cases and implementations of the system.



• Quick Set Up

Can be fully set up in less than 4 minutes with only 1 actor component and 1 interface.


•Any Number Of Traces

Define a start point, end point, and how many traces you want to be generated between these two points.


•Low Frame Rate Mode

Interpolate between points to prevent compromised tracing at low frame rates or to improve performance at higher frame rates.


•Trace Shape Profiles

In addition to line tracing, can now trace sphere and box shapes, or combine line tracing and shape tracing.


•Simultaneous Traces

Supports multiple overlapping traces on a single animation or actor.


Technical Details

Features:

  • 100% blueprints.
  • Well organized and commented code.
  • Flexible, works with anything from short sword to spears and halberds easily.
  • Number of traces can be easily customized.
  • Works with both static meshes and skeletal meshes and will work with animated weapons.
  • Easy to set up and implement.
  • Highly performant by default, provides options for framerate independent tracing to further improve performance or get more consistent results.
  • Networked example provided.

Number of Blueprints: 17

Input: Gamepad, Keyboard, Mouse.

Network Replicated: Yes

Supported Development Platforms:

Windows: Yes

Mac: No


DOCUMENTATION

V2 DOCUMENTATION