reduce collision threshold check distance to -1.65, will decrease number of unnecessary bbox checks

This commit is contained in:
Kevin Ngo
2018-11-26 14:55:19 -08:00
parent f5c9f020b6
commit 051a3e7b48
2 changed files with 1 additions and 3 deletions

View File

@@ -138,7 +138,6 @@
{% macro saber (hand, otherHand, bladeColor, beamColor) %}
<a-entity id="{{ hand }}Hand"
class="saber"
mixin="raycaster"
bind__hand-swapper="enabled: {{ otherHand }}RaycasterActive"
bind__menu-controls="page: search.page; selectedChallengeId: menuSelectedChallenge.id"
bind__pauser="enabled: isPlaying"
@@ -228,7 +227,6 @@
<a-entity
id="mouseCursor"
bind__raycaster="enabled: !inVR"
mixin="raycaster"
cursor="rayOrigin: mouse"
raycaster="objects: [raycastable]"></a-entity>
<a-entity