Add saber controls
This commit is contained in:
@@ -46,12 +46,12 @@
|
||||
<a-entity id="cameraRig">
|
||||
<a-entity id="camera" position="0 1.6 0.5" camera look-controls></a-entity>
|
||||
<a-entity id="leftHand"
|
||||
controller="hand: left"
|
||||
saber-controls="hand: left"
|
||||
proxy-event__pause="event: menudown; to: a-scene; as: pause"
|
||||
proxy-event__pauserifta="event: abuttondown; to: a-scene; as: pause"
|
||||
proxy-event__pauseriftb="event: bbuttondown; to: a-scene; as: pause"></a-entity>
|
||||
<a-entity id="rightHand"
|
||||
controller="hand: right"
|
||||
saber-controls="hand: right"
|
||||
proxy-event__pause="event: menudown; to: a-scene; as: pause"
|
||||
proxy-event__pauseriftx="event: xbuttondown; to: a-scene; as: pause"
|
||||
proxy-event__pauserifty="event: ybuttondown; to: a-scene; as: pause"></a-entity>
|
||||
|
||||
Reference in New Issue
Block a user