Forum

> > CS2D > Scripts > Shoot Detection
Forums overviewCS2D overview Scripts overviewLog in to reply

English Shoot Detection

3 replies
To the start Previous 1 Next To the start

old Shoot Detection

DarkLight66
User Off Offline

Quote
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:
IMG:https://i.imgur.com/Mzpnq.png?1

old Re: Shoot Detection

krabob
User Off Offline

Quote
work out the angle from the rectangular area to the player, check if the player's rotation is the same.
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview