#Checking bullet validity

1 messages · Page 1 of 1 (latest)

wild inlet
#

I'm making a gun system and I handle all the visuals and raycasting on the clientside. When I hit something I return a bool and on the serverside I check if the bool is true but how do I check if the bullet actually hit something serverside. When I try to pass the bullet to the serverside it returns nil and I cant raycast to see if the bullet hit it.

warped coral
#

Make the raycast server sided

jade chasm
#

A solution I made for my game is that both the client and server simulated the projectile casts simultaneously