Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
I have a question for tou: how to bullets travel in a multi-player game? Aren't they too fast even for 50ms server-client latency? Assuming the distance is so small it would hit something in less than 50ms.
-
nukaboy7378y@Mayhem93 the actual hit calculations etc are all done on the server, so you only have lag during input (sending a "shoot" command to the server) and output (telling clients to play effects etc or that something was hit)
-
@Mayhem93 Well, bullets are instant in most games, and there is no actual "bullet". In most cases they just cast a ray from your gun and check if it collides with any object.
-
@gggggggggg talking about those games were bullet drop exists, like in Battlefield 4
Related Rants
Other people playing games: "Nice graphics!"
Me playing games: "Wonder how they did that shader..."
undefined
gamedev