Example #1
0
        public World()
        {
            PhysicsEngine.GlobalGravity = new Vector3(0, -9.81f * 8, 0);
            physics        = new PhysicsEngine(60);
            terrainPhysics = new TerrainPhysicsExtension();
            physics.AddExtension(terrainPhysics);

            AddComponent(physics);
        }