P0-A9: Part 864: Persistent Objects, Extreme Long Range Objects
by PhoenixGames on Feb.14, 2021, under Uncategorized
The persistent object system improvements are now done.
The system seems to work extremely well, object positions and rotations are stored on the server and paged to all players when the game is loaded.
To reduce the load on the database, I have added a system to automatically remove objects from the world after a certain period of time.
Perishable items like food, etc, are removed after a few hours, while larger crafted items are not removed for several real-life days. This means that the actual number of objects being stored in the database will be kept low.
The next thing that I am working on is improving the long-distance object support for the project.
I want to be able to, first of all, see distant objects at extreme ranges, and second of all, I want to be able to scale stellar objects, like stars, to realistic values.
I have worked on a concept for this, and it seems that with my current setup, it should be quite possible to represent objects at sizes up to 6.957e+9, which should be enough for gameplay purposes.












