shamansir / elm-aframe / AFrame.Components.Controls.Wasd

WSAD Controls

Basic

enabled : Basics.Bool -> AFrame.Properties.Property

Whether the WASD controls are enabled.

Default : true

acceleration : Basics.Float -> AFrame.Properties.Property

How fast the entity accelerates when holding the keys.

Default : 65

fly : Basics.Bool -> AFrame.Properties.Property

Whether or not movement is restricted to the entity’s initial plane.

Default : false

Axes

adAxis : AFrame.Variants.Axis.Axis -> AFrame.Properties.Property

Axis that the A and D keys act upon

Default : x

wsAxis : AFrame.Variants.Axis.Axis -> AFrame.Properties.Property

Axis that the W and S keys act upon

Default : z

adInverted : Basics.Bool -> AFrame.Properties.Property

Whether the axis that the A and D keys act upon are inverted.

Default : false

wsInverted : Basics.Bool -> AFrame.Properties.Property

Whether the axis that the W and S keys act upon are inverted.

Default : false