Hello, everyone! I’ve recently been working on my game and have noticed a lot of complaints on hitboxes etc. I use Region3 for my hitboxes and was wondering if I’m doing something wrong is there another method of getting hitboxes to work better?
Most of my spells rotate constantly so I don’t know if that messes up the region or anything like that.
Like getting the hitbox of a rotated part.
Sorry, if I was unclear about anything still new to the developer forums.
September 8, 2020, 7:41pm
Use raycasting with a margin of error instead, it’ll be a lot more efficient and there won’t be hit “boxes”, it’ll be more of a humanoid shape.
I use Raycast Hitbox for most of my hitboxes, its pretty performant and accurate.
Current Version: V.4.01 Stable (09/21/2021)
Upgrading from 3.xx to 4.0
Please note that V4 is not backwards compatible with V3. There are a few API changes that were introduced in V4 to better suit modern code etiquette. Here are the changes you need to know if you want to make your code compliant with V4:
Raycast Hitbox 4.01: For all your melee needs! - #597 by Swordphin123
Accurate, performant, and easy to use!
Use attachments or vectors to make your hitboxes in second…
September 8, 2020, 8:07pm
For my game, we use raycast hitboxes but the only downside is the certain hats people wear. For example if they wear the “Porta Potty”
Porta Potty - Roblox
it makes it hard hit them and detain them
You can change the hit box settings in the roblox game settings, perhaps that might help.
If the spells rotate and the region3 does not, why not just use rotated region3 module to better fit the hotbox?
Update: This module has served its purpose, but with the release of the
new spatial query API this post is obsolete. It will be left untouched for learning purposes, but it’s strongly recommended to check out the built-in api solution instead.
Recently I took another crack at an old module I wrote some time back. The goal of this module is to provide users with a way to create Rotatable Region 3’s which is useful for too many reasons to list.
Even though this module (older versions) has been …
Thanks for the help, I’ll try it out!
For swords and other melee weapons, i use
@TeamSwordphin 's raycast hitbox module.
For projectiles, i use @EtiTheSpirit 's FastCast module
For anything else, i use region3 or touched