I'm working in a 3D project and I need to walk inside but I cannot find the method or function using "universal controls"
I got this taked for an example:
<a-entity position="1.75 0 1.2" rotation="0 28 0">
<a-camera near="0.1" user-height="0"></a-camera>
</a-entity>
The problem is, I cannot walk whit that code but the entities (the black things on the project) can move and I don't want it. I want to move around the scene, you can see my project online here: http://www.losmarcs.com/VR/
To use WASD/arrow navigation in A-Frame, the default component to use is wasd-controls
. This component should be added to the same element as the camera
component. For roomscale walking (eg Vive) you also need the look-controls
component.
If you're also using aframe-extras , you would instead use the universal-controls
component on the camera element.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.