Im trying to make a secure gun, and i wanted to know if I were to ray cast on the server, no projectile projection, just an invisible ray on the server which will also handle hit detection, how bad would it slow down my game?

3 comments

0

raycasting will not slow down your game, when in the world did you think that it would

0

can u give us a script - we need more info

0

@NSMasco, I was just going to create a standard ray cast, with spread (so math.random function needed and calculations), as well as checking if it touched anything