Some werid sever delay between players

I’m currently making a football/soccer game and whenever Player 1 Kicks the ball the The particles and trails which are meant to be lock on the ball are not visually shown the same as it is for Player 2.

Here is a fast version of the clip;

Here is a slowed down version of the clip around the part I’m specifically talking about;

There seems to be an overall delay between the when the Player kicks the ball and the ball launches. This delay is most likely the issue but I don’t know what is causing it. The particles and trails are instanced through the server and the particles and emitted via the client.

I believe the main problem that needs to be solved the the delay between in which the ball in launches visually from each Player side. Player 1 (The player shooting the ball) seems to have a more updated version visually then Player 2 (The player watching the ball being kicked)

im confused, is the issue the particles or the delay in the ball being kicked?

Their is a body velocity being instanced to the Football, I’ve also set the balls Network Owner to the player that is kicking the ball. I’m assuming this is causing the problem as when I set the Network Owner to kick the ball is kicked visually at the same time. The problem is with the ball being kicked is delayed. not the particles or trails.

basically how roblox works with its physics when you set the Network Owner to another player is, the player simulates the balls position and renders it, sends that info to the server, then the server sends that to all other clients creating a huge delay. sadly theres no real fix for it, the best you could do is set the Network Owner to the server for minimal delay however that creates very bad latency on the ball.

Alright thank you for this solution.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.