code-vr
code-vr copied to clipboard
Scene Graph and Actors
CodeVR's scene system is modeled after the design of most game engines, there's a scene with actors, each behaving independently and each communicating with the engine state.
Destruction
Actors can destroy themselves or actors around them by calling engine_state.scene.destroy(..), which requires that they pass a condition for an actor in the scene to be destroyed for.