Skip to content

Commit

Permalink
Remove non-existent properties for HTML
Browse files Browse the repository at this point in the history
  • Loading branch information
diarmidmackenzie committed Nov 20, 2023
1 parent 4a2a6e5 commit e5aadb0
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions examples/ammo/sandbox.html
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
color="green"
shadow
bounce
ammo-body="type: kinematic; addCollideEventListener: true; disableCollision: true;"
ammo-body="type: kinematic; disableCollision: true;"
ammo-shape="type: cone;"
ammo-constraint="target: #target;"
></a-cone>
Expand All @@ -117,7 +117,7 @@
scale="0.5 0.5 0.5"
color="blue"
shadow
ammo-body="addCollideEventListener: false;"
ammo-body
ammo-shape
></a-torus-knot>
<a-cylinder
Expand Down
4 changes: 2 additions & 2 deletions examples/ammo/zero-g.html
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
color="green"
shadow
bounce
ammo-body="type: kinematic; addCollideEventListener: true; disableCollision: true;"
ammo-body="type: kinematic; disableCollision: true;"
ammo-shape="type: cone;"
ammo-constraint="target: #target;"
></a-cone>
Expand All @@ -117,7 +117,7 @@
scale="0.5 0.5 0.5"
color="blue"
shadow
ammo-body="addCollideEventListener: false;activationState: disableDeactivation"
ammo-body="activationState: disableDeactivation"
ammo-shape
></a-torus-knot>
<a-cylinder
Expand Down
4 changes: 2 additions & 2 deletions examples/cannon-worker/sandbox.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@
<a-box position="-1 5 -5" rotation="0 45 0" color="#4CC3D9" shadow body="shape: box;"></a-box>
<a-box id="target" position="1 3.75 -4" rotation="0 45 0" color="purple" shadow body="shape: box;"></a-box>
<a-sphere position="0 10 -10" radius="1.25" color="#EF2D5E" shadow body="shape: sphere;"></a-sphere>
<a-cone position="-1 3.75 -4" radius-bottom="1.25" color="green" shadow bounce body="type: static; shape: cone; addCollideEventListener: true; collisionFlags: 4" constraint="target: #target;"></a-cone>
<a-cone position="-1 3.75 -4" radius-bottom="1.25" color="green" shadow bounce body="type: static; shape: cone" constraint="target: #target;"></a-cone>
<a-torus position="-1 3.75 -7" radius="1.25" scale="0.5 0.5 0.5" color="red" shadow body="shape: capsule; cylinderAxis: z;"></a-torus>
<a-torus-knot position="0 3.75 -5" radius="1.25" scale="0.5 0.5 0.5" color="blue" shadow body="addCollideEventListener: false;"></a-torus-knot>
<a-torus-knot position="0 3.75 -5" radius="1.25" scale="0.5 0.5 0.5" color="blue" shadow body></a-torus-knot>
<a-cylinder segments-height="1" segments-radial="10" position="1 4.0 -5" radius="0.5" height="1.5" color="#FFC65D" shadow body="shape: cylinder"></a-cylinder>
<a-plane position="0 2 -4" rotation="90 0 0" width="1" height="1" color="#7BC8A4" shadow body="type: static; mass: 0; shape: box;"></a-plane>
<a-torus-knot position="0 0 -7" radius="1.25" scale="5 0.1 5" rotation="0 90 0" color="#7BC8A4" shadow body="type: static; mass: 0; shape: box;"></a-torus-knot>
Expand Down
4 changes: 2 additions & 2 deletions examples/cannon/sandbox.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@
<a-box position="-1 5 -5" rotation="0 45 0" color="#4CC3D9" shadow body="shape: box;"></a-box>
<a-box id="target" position="1 3.75 -4" rotation="0 45 0" color="purple" shadow body="shape: box;"></a-box>
<a-sphere position="0 10 -10" radius="1.25" color="#EF2D5E" shadow body="shape: sphere;"></a-sphere>
<a-cone position="-1 3.75 -4" radius-bottom="1.25" color="green" shadow bounce body="type: static; shape: cone; addCollideEventListener: true; collisionFlags: 4" constraint="target: #target;"></a-cone>
<a-cone position="-1 3.75 -4" radius-bottom="1.25" color="green" shadow bounce body="type: static; shape: cone" constraint="target: #target;"></a-cone>
<a-torus position="-1 3.75 -7" radius="1.25" scale="0.5 0.5 0.5" color="red" shadow body="shape: capsule; cylinderAxis: z;"></a-torus>
<a-torus-knot position="0 3.75 -5" radius="1.25" scale="0.5 0.5 0.5" color="blue" shadow body="addCollideEventListener: false;"></a-torus-knot>
<a-torus-knot position="0 3.75 -5" radius="1.25" scale="0.5 0.5 0.5" color="blue" shadow body></a-torus-knot>
<a-cylinder segments-height="1" segments-radial="10" position="1 4.0 -5" radius="0.5" height="1.5" color="#FFC65D" shadow body="shape: cylinder"></a-cylinder>
<a-plane position="0 2 -4" rotation="90 0 0" width="1" height="1" color="#7BC8A4" shadow body="type: static; mass: 0; shape: box;"></a-plane>
<a-torus-knot position="0 0 -7" radius="1.25" scale="5 0.1 5" rotation="0 90 0" color="#7BC8A4" shadow body="type: static; mass: 0; shape: box;"></a-torus-knot>
Expand Down

0 comments on commit e5aadb0

Please sign in to comment.