public void CreateMailbox2(Vector3 pos) { GameEntity entity = new GameEntity("prop"); Entity data = new Box(pos, 2, 3.75f, 2, 200); data.CollisionInformation.LocalPosition += Vector3.Down * 1; entity.AddSharedData(typeof(Entity), data); PhysicsComponent roomPhysics = new PhysicsComponent(mainGame, entity); entity.AddComponent(typeof(PhysicsComponent), roomPhysics); genComponentManager.AddComponent(roomPhysics); UnanimatedModelComponent graphics = new UnanimatedModelComponent(mainGame, entity, GetUnanimatedModel("Models\\mailbox2"), new Vector3(1), Vector3.Down * 2, 0, 0, 0); entity.AddComponent(typeof(UnanimatedModelComponent), graphics); modelManager.AddComponent(graphics); MailboxController controller = new MailboxController(mainGame, entity); entity.AddComponent(typeof(MailboxController), controller); genComponentManager.AddComponent(controller); lightPoles.Add(entity); }