I actually am making a JoJo combat game right now and I have faced this exact problem…? How should i calculate my hitboxes, I like this Spatial Queries approach, It is indeed faster and better. But what do you think about MuchachosHitbox, or HitboxClass, or ZonePlus for hitboxes…?
For Example MuchachosHitbox has Velocity Predictions, that predict where the hitbox should be so it is way more accurate, sure you can do that yourself too but I feel like having the module do it for you is pretty neat.
Only downside as you mentioned, is that it’s using the Hitbox.Touched event and TouchEnded event.
You could make a hitbox module that uses Spatial Queries, and has velocity prediction. That feature is really good…
The Cyan Hitbox is using velocity prediction.
The Red Hitbox doesn’t use velocity prediction.
So which module should you use?
MuchachosHitbox because of its Velocity Predictions?
HitboxClass Because its fast and its OOP?
Or ZonePlus Because it uses Spatial Queries?