Best way to setup hitboxes using projectiles?

Hi, In my game I’m shooting projectiles. I setup many collision hitboxes on my character. When I fire a projectile into them they don’t work. Well kind of. Using a print string I can see the client detects the hitbox was hit but the dedicated server sees it hit the landscape so the player won’t take damage. Any advice on how to get this working? Or is there a better way and scrap the collision hitboxes on my character and do it another way?

Thanks

Are you using phat to make the hit boxes?

I’m not sure if this is a convenient method, you can make the capsule ignore the projectile and have the character mesh block it/overlap. This way the physics asset of the mesh will interact with the projectile and it will even tell you the bone name where the projectile hit, this does rely on having a good physics asset for your character to get more consistent bone names.

You can also assign a physical material to the phys asset collisions.

Arm, Hand, Leg, Foot, Torso, Chest, Neck, Head … vs 50+ bones.

2 Likes

Oh that’s good to know, thanks.

This sounds like the way to go. Thanks

Simplified breakdown…

Awesome Thanks