User Tools

Site Tools


terrain_following

This is an old revision of the document!


Terrain Following


(WIP)

Precise

With this option, the player's vertical position will follow


Smooth (Linear)

With this option, linear interpolation is used to calculate the player's vertical position while moving to the next voxel coordinate. This means that changes in height from one voxel coordinate to the next will be smoothed out into a straight-line path and is good for games where you want inclines, like stairs, to have smooth movement as if walking up a ramp.


Smooth (Curve)

With this option, the smootherstep function is used to calculate the player's vertical position while moving to the next coordinate. This is the default setting and provides a good balance between closely following rises/drops in terrain without the sudden snapping up/down that the “Precise” option results in.

terrain_following.1507054450.txt.gz · Last modified: 2017/10/03 11:14 by justin