lunco-sim icon indicating copy to clipboard operation
lunco-sim copied to clipboard

Proper visualisation of solar system for multiplayer

Open 0xIonRod opened this issue 2 years ago • 1 comments

That's a pretty tricky part, as if players are far away origin shifting on server wont work.

It implies that the simulation is far more complex -> Universe physical state and it's visual representation must be separated, resulting in:

  1. Physical universe simulation -> done on server, e.g. Sun/Earth/Moon positions. Open question how to handle physics with such approach e.g. for maps? Seems like a lot of low level physics server control
  2. Visual representation -> build on client and uses all the hacks e.g.
  3. UI -> also build on client

0xIonRod avatar Oct 06 '23 05:10 0xIonRod

Simple solution would be to rely on Godot node system to build "real" world, while visual 3D representation to leave to other classes and do it via composition

0xIonRod avatar Oct 06 '23 05:10 0xIonRod