#What is the best method to create and detect HitBoxes for a combat system?

11 messages · Page 1 of 1 (latest)

upbeat frigate
#

I feel like you're making this a little too complicated

#

What you could do, is leave the hitbox how it used be and then instead of the .Touched event, you could use some efficient modules like the zone+ (https://devforum.roblox.com/t/1017701) module. I don't exactly know how you use it but you could look for some other efficient modules. Then, instead of deleting the hitbox, go on with your script.

ember aurora
#

Zone+ uses GJK with gettouchingparts just use the overlap params.

quasi fog
#

Personally a mixture of a touchevent and gettouchingparts

#

Zone+ Is a bit odd to use for hitboxes but never tried it

umbral perch
#

👍 valid methods, marking as solved.

ember aurora
#

Get touching parts was superseded by overlap params.

#

You can also use rays depending on how you wanna detect

#

A lot of good roblox games do, such as ZOE

quasi fog
#

yea, depends on what type of combat you are doing ofc

slim lotus
#

I use raycastHitboxes