code-vr icon indicating copy to clipboard operation
code-vr copied to clipboard

Scene Graph and Actors

Open alaingalvan opened this issue 8 years ago • 0 comments

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.

alaingalvan avatar Jun 05 '17 17:06 alaingalvan