Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Only send nearby vessels #1

Open
Makkkkus opened this issue Dec 21, 2023 · 0 comments
Open

Only send nearby vessels #1

Makkkkus opened this issue Dec 21, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@Makkkkus
Copy link
Member

Background

All vessels in the game are stored in one of three places on the client. Firstly, the ActiveVessels list in the World class; secondly, the ArtificialBoldies list in the SolarSystem class, and lastly the ShipExteriorRoot GameObject.

All vessels in the universe are therefore cashed on the client, although almost all of them will never be shown while playing. Currently the ShipExteriorRoot game object has just over 1 600 child objects. All of them are shells, and contain nothing else than the Ship and GeometryRoot scripts.

Proposal

The server should be modified so it only sends information about vessels in the near vicinity of the player. One should also attempt to investigate whether these three lists contain the same vessels.

@Makkkkus Makkkkus added the enhancement New feature or request label Dec 21, 2023
@Makkkkus Makkkkus moved this to To do in Development board Dec 21, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
Status: To do
Development

No branches or pull requests

1 participant