OptionalbodyHeight of the walker; walls are detected at half of it. Default 1.8.
OptionalbodyDistance kept from walls. Default 0.3.
OptionaldoorDistance behind a door at which one lands after going through it. Default 0.6.
OptionaldoorFarthest distance at which a door can be targeted. Default 2.5.
OptionaldoorHow often the crosshair target is re-checked while the view changes. Default 0.15.
OptionaldoorObject types that are doors, case-insensitive. Default ["IfcDoor", "Doors"] (IFC, Revit).
OptionaleyeCamera height above the floor. Default 1.7.
OptionalflyFlight speed while holding the "run" key. Default 14.
OptionalflyDefault 5.
OptionalgravityDownward acceleration in m/s². Default 9.81.
OptionalhiddenObject types hidden while walking, since they would block movement, case-insensitive.
Default ["IfcSpace", "IfcOpeningElement", "IfcAnnotation", "Rooms"] (IFC, Revit).
OptionalidOptional ID for this plugin, unique among the plugins of the Viewer. Default "WalkMode".
OptionaljetpackUpward acceleration of the jetpack in m/s². Default 18.
OptionaljetpackHighest rising speed of the jetpack. Default 4.
OptionalkeysKey bindings, merged over the defaults per action. An empty array unbinds an action.
OptionallookRotation per pixel of mouse movement. Default 0.0025.
OptionalmaxLonger frames are simulated as this long, so that a stall can't move the walker through walls. Default 0.1.
OptionalmaxMouse movement per event above this many pixels is clamped, filtering pointer lock spikes. Default 100.
OptionalmaxHow far up / down one can look. Default π/2 - 0.05.
OptionalmodesModes to switch off, all enabled by default. Keys of a disabled mode are left to the page.
OptionalobjectReturns the type of an object (e.g. "IfcDoor") when it can't be found in viewer.metaScene,
e.g. for models with custom metadata. Doors and spaces are recognized by type.
OptionalrunSpeed while holding the "run" key. Default 4.5.
OptionalstepHighest step that is walked up. Default 0.6.
OptionalwalkDefault 1.6.
Configuration for WalkModePlugin.