public void AddActor(BaseActor newActor) { if (Actors.Contains(newActor)) { // return; } Actors.Add(newActor); newActor.ActorAddedToSceneGraph(this); var physicsShape = newActor.CreatePhysicsShape(); if (physicsShape != null) { //physicsSimulation.Shapes.Add(physicsShape ?? new Box()); } //SceneOwner.RenderManager.AppendRenderProxies(newActor.CreateRenderProxies()); }