#Projectile client replication

1 messages · Page 1 of 1 (latest)

silk oak
#

as you can see i am now where near the projectile but i still get hit (i set ping to 200ms), how do i fix this? im using fastcast for hit detection so it's very accurate, i also tried to create a dummy bullet on the client and make the bullet spawn further to compensate the ping but that lead to the npc shooting bullet 20 studs ahead of him which looks bad and very hard to dodge

#

have been reading countless articles and watch vids but i cant figure this out

patent flax
silk oak
patent flax
#

you will get hit

silk oak
patent flax
#

so either on the server you can try and calcuate where ur the client thinks it is but that can be hard can you can change position mid air and the server wont have the information

#

or you can calculate where the bullet should be which shouldnt be too hard cause it can only go in one direction

patent flax
patent flax
#

if you go with the calculating client one the movement can look weird to other players

silk oak
#

i found a cool solution so if anyone interested dm me