3 ms·
Yes, you can just remix and remove the orbit controls in lines 43 and 44 https://glitch.com/edit/#!/maps-and-splats?path=index.html%3A45%3A0 https://glitch.com/
by kfarr 2y ago
Yes, you can just remix and remove the orbit controls in lines 43 and 44 https://glitch.com/edit/#!/maps-and-splats?path=index.html%3A45%3A0 https://glitch.com/edit/#!/maps-and-splats?path=index.html%3... and then add `look-controls` `wasd-controls` to the camera entity. https://aframe.io/docs/1.5.0/components/wasd-controls.html https://aframe.io/docs/1.5.0/components/wasd-controls.html
- theultdev 2y agoThanks! For anyone interested this is what I ended up with to fly around: <a-entity camera look-controls="pointerLockEnabled: true;" wasd-controls="enabled: true; fly: true; acceleration: 3000;" ></a-entity> Demo: https://delicious-enthusiastic-accelerator.glitch.me https://delicious-enthusiastic-accelerator.glitch.me