Skip to content

Commit b7e4271

Browse files
committed
Joystick Controls
1 parent bfbb940 commit b7e4271

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

index.html

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,17 @@
33
<head>
44
<script src="https://aframe.io/releases/1.4.2/aframe.min.js"></script>
55
<script src="https://quadjr.github.io/aframe-gaussian-splatting/index.js"></script>
6-
<script src="https://unpkg.com/[email protected]/dist/aframe-orbit-controls.min.js"></script>
7-
<script src="https://quadjr.github.io/aframe-gaussian-splatting/index.js"></script>
6+
<script src="https://cdn.jsdelivr.net/gh/c-frame/[email protected]/dist/aframe-extras.min.js"></script>
87
</head>
98
<body>
109
<a-scene renderer="antialias: false" stats>
11-
<a-entity camera look-controls="enabled: true" orbit-controls="target: 0 2 0; minDistance: -10000; initialPosition: 0 0 0; rotateSpeed: 0.5"></a-entity>
10+
<a-entity id="rig"
11+
movement-controls="controls: keyboard,gamepad,nipple; speed: 10; fly: true"
12+
nipple-controls="mode: static; lookJoystickPosition: left; moveJoystickPosition: right">
13+
<a-entity camera position="0 1.6 0" look-controls="enabled: true"></a-entity>
14+
</a-entity>
1215
<a-entity gaussian_splatting="src: https://huggingface.co/NikV09/SplaTAM_S1/resolve/main/3dgs_outdoor_dry_grass.splat;" rotation="0 180 0" position="0 -50 -200"></a-entity>
13-
<a-sky color="#FFFFFF"></a-sky>
16+
<a-sky color="#000"></a-sky>
1417
</a-scene>
1518
</body>
1619
</html>

0 commit comments

Comments
 (0)