Skip to content

Commit 5086d01

Browse files
Utopiahdmarcos
authored andcommitted
adding look-controls to the example
Seems a lot of people get confused on why the camera "doesn't move" once they add it to be able to add the reticle. Added look-controls to avoid that.
1 parent f3fae1b commit 5086d01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎docs/components/cursor.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ entity. We pull it in front of the camera by placing it on the negative Z axis.
5454
When the cursor clicks on the box, we can listen to the click event.
5555

5656
```html
57-
<a-entity camera>
57+
<a-entity camera look-controls>
5858
<a-entity cursor="fuse: true; fuseTimeout: 500"
5959
position="0 0 -1"
6060
geometry="primitive: ring; radiusInner: 0.02; radiusOuter: 0.03"

0 commit comments

Comments
 (0)