Skip to content

Commit f546bd0

Browse files
committed
Touch Controls
1 parent 0838261 commit f546bd0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

index.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,10 @@
1010
<body>
1111
<a-scene renderer="antialias: false" stats>
1212
<a-entity id="rig"
13+
movement-controls="controls: keyboard,gamepad,touch; speed: 0.5; fly: true">
14+
<!-- <a-entity id="rig"
1315
movement-controls="controls: keyboard,gamepad,nipple; speed: 0.5; fly: true"
14-
nipple-controls="mode: static; lookJoystickEnabled: false; moveJoystickPosition: right">
16+
nipple-controls="mode: static; lookJoystickEnabled: false; moveJoystickPosition: right"> -->
1517
<!-- <a-entity camera look-controls="enabled: true" orbit-controls="target: 0 2 0; minDistance: -10000; initialPosition: 0 0 0; rotateSpeed: 0.5"></a-entity> -->
1618
<a-entity camera position="0 1.6 0" look-controls="enabled: true"></a-entity>
1719
</a-entity>

0 commit comments

Comments
 (0)