#is it possible to make a projectile not use gravity for the clients?

13 messages · Page 1 of 1 (latest)

tacit dune
#

I'm trying to make a straight flying grenade, the no gravity seems to work on the server side, but the client still applies gravity to the prediction.

potent atlas
#

I mean considering I doubt unity has air friction, if you're doing a straight flying grenade it should have a constant velocity

#

If nothing else works you can manually set the position

tacit dune
#

yea it works on the server side perfectly

#

its just that the client prediction still has gravity

#

and makes it dip down

#

every time it syncs

potent atlas
#

I see

#

I'm testing this myself I'll lyk if I figure something out

potent atlas
#

I tried doing it before it's even spawned on the network but apparently that didn't work

#

It appears that when the game syncs gravity for players it does

#

So it could be that gravity just base-line doesn't sync with the client