Hi there! I’m a game developer, and I am currently making a roleplay type game, where people can roleplay as citizens, police officers, criminals, firefighters, etc. I am interested in making my own gun system, without using an open source one like ACS, Carbon Engine, etc.
I want to make a semi-realistic firearm system. I find the ‘bullets’ in most tutorials, with the bright yellow neon unappealing. I’d like to make my own system where it detects if the player is reachable (also registers obstructions like walls, etc).
I’ve heard of doing this with raycasting, but, for some reason I don’t remember, couldn’t do it because of a problem I encountered. Can anyone help me, by replying with a effective and efficient system to do hit registration, register obstructions, etc?