show cursor laser if not playing always

This commit is contained in:
Kevin Ngo
2018-12-09 03:53:46 -08:00
parent 48a44fe93a
commit 2ff64b26f2

View File

@@ -169,7 +169,7 @@
trail="color: {{ bladeColor }}; hand: {{ hand }}">
<a-entity
id="{{ hand }}Laser"
bind__cursor-laser="enabled: menuActive && activeHand === '{{ hand }}'"
bind__cursor-laser="enabled: !isPlaying && activeHand === '{{ hand }}'"
geometry="primitive: cylinder; height: 1; radius: 0.005"
material="color: {{ beamColor }}; shader: flat"
rotation="-90 0 0"></a-entity>