Restore bladeEnabled flag
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
AFRAME.registerComponent('saber-controls', {
|
||||
schema: {
|
||||
bladeEnabled: {default: false},
|
||||
enabled: {default: false},
|
||||
hand: {default: 'right', oneOf: ['left', 'right']}
|
||||
},
|
||||
|
||||
@@ -75,6 +75,7 @@
|
||||
bind__hand-swapper="enabled: {{ otherHand }}RaycasterActive"
|
||||
bind__pauser="enabled: !menu.active"
|
||||
bind__raycaster="enabled: {{ hand }}RaycasterActive"
|
||||
bind__saber-controls="bladeEnabled: !menu.active"
|
||||
haptics="events: mouseenter; dur: 35; force: 0.075"
|
||||
saber-controls="hand: {{ hand }}">
|
||||
|
||||
|
||||
Reference in New Issue
Block a user