PGD Home

P0-A3: Part 551: Server Persistence, Debugging

by on Apr.21, 2019, under A3, Astral Realms, P-0, Software and Games, Spiritus Astrum

The server persistence issue is more serious that I thought.

The issue is that in order to create the world I need to use unity’s transforms (to actually position the objects), but whenever I do this I lose precision.

I can store the actual positions in 64-bit, but I can’t place the objects with 64-bit precision.

Moving around the world works ok, because I am only adjusting the position of each object by a small amount as the player moves (to keep the players position at the origin), however when the player quits the game and resumes, I need to shift the world by a large amount to match their world space position, which is causing the issue.


Comments are closed.

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!