Hello everyone!
I’m new to Thrive codebase, and I’m having hard time understanding how the World is rendered.
So far, I have figured out the followings:
(Correction is always welcome if I’m wrong here.)
- the
CreatureStageBase(parent ofMicrobeStage) object hasWorldSimulation(parent ofMicrobeWorldSimulation) object. WorldSimulationobject hasWorlddata implemented byDefaultEcslibrary.- When a /Stage/ is created and attached to the Godot node tree,
Worldis instantiated on_Ready()callback. - When
_Process()is called by the Godot engine to update the scene, the /Stage/ passes down the update to theWorldSimulationand updates theWorlddata throughOnProcessFixedWithThreads()orOnProcessFixedWithoutThreads().
The question is “where is the Godot scene update?”. All the code I see here is working on the data itself, and not handling the rendering part.
This might have been my silly oversight though. Thanks in advance.