CS2D
Scripts Shoot Detection Shoot Detection
3 replies Hello, i want to know what would be the most optimal way to detect if a shoot from a player's weapon passed through a rectangular area. Here is an example:
I think it's possible with the attack hook.
Maybe the player rot,x, and y will help. work out the angle from the rectangular area to the player, check if the player's rotation is the same.