Skip to content

Commit

Permalink
Merge pull request #1303 from mozilla/physics/fix-hand-collisions
Browse files Browse the repository at this point in the history
Fix hand collisions
  • Loading branch information
InfiniteLee authored May 3, 2019
2 parents ea7b4ab + ef024f1 commit af55f8a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/hub.html
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@
radius="0.02"
segments-width="9"
segments-height="9"
ammo-body="type: kinematic; collisionFlags: 4; collisionFilterGroup: 8; collisionFilterMask: 0; scaleAutoUpdate: false; activationState: disable_deactivation;"
ammo-body="type: kinematic; disableCollision: true; collisionFilterGroup: 8; collisionFilterMask: 0; scaleAutoUpdate: false; activationState: disable_deactivation;"
ammo-shape="type: sphere; sphereRadius: 0.02; fit: manual;"
>
<a-image
Expand Down Expand Up @@ -714,7 +714,7 @@
hand-controls2="left"
teleporter="start: /actions/leftHand/startTeleport; confirm: /actions/leftHand/stopTeleport; collisionEntities: [nav-mesh]"
matrix-auto-update
ammo-body="type: kinematic; emitCollisionEvents: false; collisionFlags: 4; collisionFilterGroup: 8; collisionFilterMask: 3; activationState: disable_deactivation; scaleAutoUpdate: false;"
ammo-body="type: kinematic; emitCollisionEvents: false; disableCollision: true; collisionFilterGroup: 8; collisionFilterMask: 3; activationState: disable_deactivation; scaleAutoUpdate: false;"
ammo-shape="type: box; fit: manual; halfExtents: 0.03 0.04 0.05; offset: 0 0 -0.04"
>
</a-entity>
Expand All @@ -727,7 +727,7 @@
hand-controls2="right"
teleporter="start: /actions/rightHand/startTeleport; confirm: /actions/rightHand/stopTeleport; collisionEntities: [nav-mesh]"
matrix-auto-update
ammo-body="type: kinematic; emitCollisionEvents: false; collisionFlags: 4; collisionFilterGroup: 8; collisionFilterMask: 3; activationState: disable_deactivation; scaleAutoUpdate: false;"
ammo-body="type: kinematic; emitCollisionEvents: false; disableCollision: true; collisionFilterGroup: 8; collisionFilterMask: 3; activationState: disable_deactivation; scaleAutoUpdate: false;"
ammo-shape="type: box; fit: manual; halfExtents: 0.03 0.04 0.05; offset: 0 0 -0.04"
>
</a-entity>
Expand Down

0 comments on commit af55f8a

Please sign in to comment.