Raycast Hitbox 4.01: For all your melee needs!

Do you know why the raycast doesn’t follow the NPC’s animation, while it works fine when the player use it? By the way, the animation is run on the client.

Interesting… I’m having the exact same problem after destroying the hitboxes and the parent object that they’re inside.

When the model was loaded back again using :Clone() it caused this issue.

It seems .new() returned nil instead of the hitbox.

Have you gotten around this issue?

This entire system has completely made implementing a melee system into my game SO MUCH MORE EASIER plus it’s server-side so it’s more secure too!

I definitely recommend this

did a small donation :slight_smile:

2 Likes

Has the new module been released? Could you provide more details on its current status?

how to fix the hit detection delay, even when I use clientside hit detection it still delays 1 second, maybe because Im using skinned mesh for the tool? but for the Hitbox part, I use the normal part

Im running into the same issue as well. First hit on a new enemy is successful 70% of the time. The other 30% will miss a hit detection entirely. Seems to be some initialization issue.

After some digging I realized there were some PRs on github to address this issue. Theres 2 PRs which fix this bug and improves accuracy of the hits:

Now I can always hit mob on first hit whereas before raycasts make completely miss even though a register should have occured.

Check my github for latest patches. Download version 4.01a

3 Likes

Oh my gosh like a year later and I have my answer… thank you very much.

1 Like

why i am not able to use multiple hitboxes on one part

What use case do you have for requiring multiple hits? Can you provide an example?

Is anyone else getting a bug where the faster the DmgPoints are moving, the less accurate they are?

In this video:

The dummy should be out of range of the DmgPoints, yet hits are registered when I increase the animation speed.

New to this, where should I be putting this solution?

Check my github for latest patches. Download version 4.01a

1 Like

Hey I cant find a download for this edit:
nvm found it

Hey I get a bug

19:11:31.733 ReplicatedStorage.Modules.RaycastHitboxV4.Solvers.Bone:39: Expected , got ‘module’ - Studio - Bone:39

with

return solverlocal module = {}

in bone, please help!

can you send me an example place file to further invstigate?

Am I able to use this module on the client for hit-detection?

Yes, thats exactly what this does.

Hit detect on client then fire to server for validation. Thats what Im doing in my current project

Is there a way to only have the debug visualizer visible on the client?

Hi all,

This resource is no longer supported and has been superseded by ShapecastHitbox. While the library is still usable today, it contains some bugs and performance issues that the original team is no longer addressing. You are welcome to fork the project and publish improvements if you wish.

Thank you all for supporting this project for the last 6 years, you all are awesome!

2 Likes