To this day I would still love to work on this project, so i need this feature

I need to be able to send a message for melee attacks. But I have no way of making two emitted objects pick a specific one based on proximity.

2 Likes

Why not spawn a hitbox for the attack, and they could use collisions to see if they were hit?

1 Like

That would deal splash damage to grouped enemies.

2 Likes

You could nerf the attack damage to compensate. I did this in my game The GAME 420 with the Grunts because their fire rate and jump are so high.

Not if you make it a small hitbox

1 Like

They can overlap. I added grouping so they can group up and increase dps.

1 Like

maybe I can help out, what exactly are you looking for?

1 Like

What if you spawned a projectile/bullet from the player’s location?
The first hit would register the attack.

4 Likes