Jump to content

When worlds collide


Rick
 Share

Recommended Posts

IN LE 3, is it possible to have 2 separate worlds simulating their own physics at it's own time? I'm looking at client side prediction and found a newton forum post that talks about using 2 worlds for client side prediction. The idea is that the server sends timestamped snapshots of where it says your client is in the world. On our client we are storing a list of timestamped positions as well. When we get the server snapshot we need to reposition our local controller to the last know server position, and then replay the rest of the simulation from our locally stored list.

 

So the idea is that we'd do this snapping and replaying in the 2nd world that isn't shown to the player where we can catch up the simulation of the rest of our predictions in 1 game cycle, and then use this final position on the controller in our viewable world as it's current position (most likely interpolating between the viewable world position and 2nd world's position to smooth it out).

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...