Update to latest keyboard-controls usage
This commit is contained in:
parent
0d13873a75
commit
585f4fd05e
4 changed files with 4 additions and 4 deletions
|
@ -14,7 +14,7 @@
|
||||||
<a-sky color="#ECECEC"></a-sky>
|
<a-sky color="#ECECEC"></a-sky>
|
||||||
|
|
||||||
<a-entity position="0 0 3.8">
|
<a-entity position="0 0 3.8">
|
||||||
<a-camera look-controls-enabled="false" keyboard-controls="fpsMode: true"></a-camera>
|
<a-camera look-controls-enabled="false" keyboard-controls="mode: fps"></a-camera>
|
||||||
</a-entity>
|
</a-entity>
|
||||||
</a-scene>
|
</a-scene>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
<a-sky color="#ECECEC"></a-sky>
|
<a-sky color="#ECECEC"></a-sky>
|
||||||
|
|
||||||
<a-entity position="0 0 3.8">
|
<a-entity position="0 0 3.8">
|
||||||
<a-camera look-controls-enabled="false" keyboard-controls="fpsMode: true"></a-camera>
|
<a-camera look-controls-enabled="false" keyboard-controls="mode: fps"></a-camera>
|
||||||
</a-entity>
|
</a-entity>
|
||||||
</a-scene>
|
</a-scene>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
<a-sky color="#ECECEC"></a-sky>
|
<a-sky color="#ECECEC"></a-sky>
|
||||||
|
|
||||||
<a-entity position="0 0 3.8">
|
<a-entity position="0 0 3.8">
|
||||||
<a-camera look-controls-enabled="false" keyboard-controls="fpsMode: true"></a-camera>
|
<a-camera look-controls-enabled="false" keyboard-controls="mode: fps"></a-camera>
|
||||||
</a-entity>
|
</a-entity>
|
||||||
<script>
|
<script>
|
||||||
var draggable = document.querySelector('[click-drag]');
|
var draggable = document.querySelector('[click-drag]');
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
<a-sky color="#ECECEC"></a-sky>
|
<a-sky color="#ECECEC"></a-sky>
|
||||||
|
|
||||||
<a-entity position="0 0 3.8">
|
<a-entity position="0 0 3.8">
|
||||||
<a-camera look-controls-enabled="false" keyboard-controls="fpsMode: true"></a-camera>
|
<a-camera look-controls-enabled="false" keyboard-controls="mode: fps"></a-camera>
|
||||||
</a-entity>
|
</a-entity>
|
||||||
<script>
|
<script>
|
||||||
var draggable = document.querySelector('[click-drag]');
|
var draggable = document.querySelector('[click-drag]');
|
||||||
|
|
Loading…
Reference in a new issue