Skip to content

Commit

Permalink
make city container persistent
Browse files Browse the repository at this point in the history
  • Loading branch information
kfarr committed Nov 19, 2023
1 parent 5261d72 commit 97004e1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
<a-scene
xr-mode-ui="XRMode: ar"
renderer="colorManagement: true;"
anchored="persistent: true"
>
<a-assets>
<!-- <img id="groundTexture" src="https://cdn.aframe.io/a-painter/images/floor.jpg" crossorigin="anonymous" /> -->
Expand Down Expand Up @@ -59,7 +58,7 @@
material="shader: standard; color: #F00; opacity: 0.5; " bind__material="color: color.hex"
sound="src: #click-ogg; on: cursormoved; poolSize: 10;"></a-entity>

<a-entity id="city-container">
<a-entity id="city-container" anchored="persistent: true">
<a-entity position="0 0.06 0"
gridhelper="size:5;divisions:20;colorGrid:#660066;colorCenterLine:#FF5555;"></a-entity>
<a-cylinder id="ground" class="collidable spawnable" radius="32" height="0.1" grid-cursor="allowFrom: .can-select"
Expand Down

0 comments on commit 97004e1

Please sign in to comment.