Raycast hit detection module for Godot 4, similar to Mordhau's style of hit detection.
2024-10-14.15-37-40.mp4
The demo scene can be found in res://addons/raycast_hitbox/src/demo/demo_mixamo
Demo contains example setup for the plugin and example scripts to implement custom detection behavior.
- Add a RayCastHitDetector in your scene
- Add any number of RayCastHitPoints to the scene
- Register the RayCastHitPoints to the RayCastHitDetector via the exported array in the editor.
Model for the demo character, animations, and other assets can be found on Mixamo
BoneMaps and animation libraries used to create the demo can be found here