heightfield physics

Shows how to use physics together with heightfield terrain, which is specified by height values at uniformly spaced locations ("posts") in the x-z plane. A slightly updated version of the FPS physics-based motion model controls the camera. Note also the use of a directional light.

example 41: heightfield physics