Best Hitboxes for this?

I am trying to create a game with combat similar to 2d platform fighting games like Brawlhalla and Smash bros, I want to achieve fast, fluent and smooth combat, I just ask what could be the best hitbox method for this?

Example:
ExampleSword

2 Likes

You could use some module and infomations here:

1 Like

Would Magnitude be better for what I’m trying to achieve or could Raycast Hit boxes be better?

1 Like

I’d pretty much always go with raycasting,
Magnitude would be good for 360 directional attacks but otherwise it’s just adding an unnecessary dot product check, which wouldn’t be hard but that along with personal preference and raycast just seems like the way to go.

1 Like

thanks, i’ll give it a try and see how it’ll go.

I’m assuming you’re asking to make your own custom system, but if you’re using a module then either one could work fine.
It has a lot more to do with the efficiency of how you use the code than the efficiency of the code itself, too. Anyway you can mark the other person as the answer if you end up using that module instead, up to you.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.