Combat hitboxes

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? I want to make a weapon accurate hitbox for combat

  2. What is the issue? using a generic hitbox won’t match with the weapon, it wouldn’t make a difference if i used a sword or fists

  3. What solutions have you tried so far? I tried using spatial queries in order to make an m1 hitbox

using things like raycasts sound like a good idea for accuracy but i have no idea how to go about that

I’m new to the dev forum so sorry if i don’t make any sense

2 Likes

Raycast Hitbox 4.01: For all your melee needs! - Resources / Community Resources - DevForum | Roblox
Try using this.

2 Likes

yea firing raycasts from points on a weapon would probably be accurate. ill give that method a try and come back to you if it worked, thanks

1 Like

you can make a raycast or use a raycast module, i recommend using a module as it saves alot of time

1 Like

ok thanks ill give this a try, the module seems like a good idea

raycasts ended up working really well for me, thanks guys