全新Twinmotion产品现已开放免费下载

Impact Melee Trace

darkmodegamedev - 蓝图 - 2022/07/07

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

  • 支持的平台
  • 支持的引擎版本
    4.26 - 4.27, 5.0
  • 下载类型
    资源包
    此产品包含各种虚幻引擎资源,可以选择性导入现有的项目。

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.


技术细节

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