Skip to content
Snippets Groups Projects
Commit 67de32b0 authored by Kevin Lee's avatar Kevin Lee
Browse files

remove the hardcoded floor and table static-bodies and instead, put a...

remove the hardcoded floor and table static-bodies and instead, put a static-body on tyhe environment-root that gets shape components inflated under it.
parent f104fc6a
No related branches found
No related tags found
No related merge requests found
......@@ -275,7 +275,13 @@
></a-entity>
<!-- Environment -->
<a-entity id="environment-root" position="0 0 0" nav-mesh-helper></a-entity>
<a-entity
id="environment-root"
position="0 0 0"
nav-mesh-helper
static-body="shape: none;"
class="collidable"
></a-entity>
<a-entity
id="skybox"
......@@ -294,23 +300,6 @@
xr="ar: false"
></a-entity>
<a-cylinder
position="0 0.45 0"
material="visible: false"
height="1" radius="3.1"
segments-radial="12"
static-body
class="collidable"
></a-cylinder>
<a-plane
material="visible: false"
rotation="-90 0 0"
height="35"
width="35"
static-body
class="collidable"
></a-plane>
</a-scene>
<div id="ui-root"></div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment