Walk view: Difference between revisions

Jump to navigation Jump to search
m
Use Nasal highlighter
mNo edit summary
m (Use Nasal highlighter)
Line 3: Line 3:
This is the most easy walk mode: you just walk at the same level (compared to the plane) and you will not fall if you get outside the plane.
This is the most easy walk mode: you just walk at the same level (compared to the plane) and you will not fall if you get outside the plane.
=== walk.nas ===
=== walk.nas ===
<syntaxhighlight lang="php">
<syntaxhighlight lang="nasal">
  # view nodes and offsets --------------------------------------------
  # view nodes and offsets --------------------------------------------
  var zNoseNode = props.globals.getNode("sim/view/config/y-offset-m", 1);
  var zNoseNode = props.globals.getNode("sim/view/config/y-offset-m", 1);

Navigation menu