Devlog 2
Ive now got the detection of SOI changes and following parent changing working. The attached picture shows a ship (yellow) encountering the moon. Due to matplotlibs constrains and because it would require reworking the whole system, i cant show the actual change in the Graph, but i promise it is correctly calculating it in the backend.
To make this work i also had to create a global hierarchy system to find possible interaction partners, and create a timesystem that can dynamicallychange timewarp to schedule the events with Sched.
Upong detecting an Soi change it now scedules an event to recalculate the objects position to parent relative, then recalculates the obrit in global time, so only one orbital trajectory has to be stored at a time.
While i was at it i also added the functionality of creating the Objects from a sperate config file, to make later changes to the system far easier.
Now to make it actually visible with Ursina