I'm trying to help Randomize here:
https://forums.alliedmods.net/showthread.php?t=226145
How do I properly determine that the person I am attacking with knife is within range/angles of getting damaged?
I'm trying to delay the knife attack by creating a new one, and since the player move in between I need to determine if the attack is a hit or a miss at the later point in time.
I've searched for patterns in angles, distances and viewcones and the outcome was nothing.
My next idea was to create a sphere in front of the attacker to search within, which would be fine I guess. But is it correct?
What I'm asking for is really how do the game engine determine if a knife attack is a hit or a miss?
__________________