User Tools

Site Tools


terrain_following

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
terrain_following [2017/10/03 12:01] justinterrain_following [2017/10/03 13:39] justin
Line 2: Line 2:
 ---- ----
  
-The **Terrain Following** setting in your [[Game Configuration]] allows you to customize how the player character reacts (specifically, how their vertical position is determined) as they walk across tiles in the game world. Combining this with the [[collision override]] functionality can provide a variety of behaviors. Read below for more information and visual examples of each type.+The **Terrain Following** option in your [[Game Configuration]] allows you to customize how the player character reacts (specifically, how their vertical position is determined) as they walk across tiles in the game world. Combining this with the [[collision override]] functionality can provide a variety of behaviors. Read below for more information and visual "side view" examples of each type.
  
 =====Precise===== =====Precise=====
Line 17: Line 17:
 \\ \\
 =====Smooth (Curve)===== =====Smooth (Curve)=====
-With this option, the [[https://en.wikipedia.org/wiki/Smoothstep|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.+With this option, the [[https://en.wikipedia.org/wiki/Smoothstep|smootherstep]] function is used to calculate the player's vertical position while moving to the next voxel coordinate. This is the default setting and provides a good balance between closely following rises and drops in terrain without the sudden snapping up and down that the "Precise" option can result in.
  
 {{:wiki:terrain_smooth_curve.png?nolink|}} {{:wiki:terrain_smooth_curve.png?nolink|}}
  
 ~~NOTOC~~ ~~NOTOC~~
terrain_following.txt · Last modified: 2020/04/28 08:14 by justin