How can I increase the speed of the WASD Controls for my WebVR page? Because now it goes really slow.
<a-entity position="0 1.8 0" camera look-controls wasd-controls>
<a-camera id="camera">
<a-cursor color="#333" maxDistance="30"></a-cursor>
</a-camera>
</a-entity>
The wasd-controls
component has several options, described in the A-Frame v0.4.0 docs. Increasing acceleration, or decreasing easing, will both make the camera move faster.
<a-entity camera look-controls wasd-controls="acceleration: 100">
<!-- ... -->
</a-entity>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With