Update tutorial to run far grab before near grab

This commit is contained in:
Ryan Huffman 2016-12-16 14:51:07 -08:00
parent f7ebda6931
commit 7c85709628

View file

@ -575,6 +575,7 @@ stepNearGrab.prototype = {
setControllerPartLayer('tips', 'blank');
setControllerPartLayer('trigger', 'normal');
hideEntitiesWithTag(this.tag, { visible: false});
hideEntitiesWithTag('bothGrab', { visible: false});
deleteEntitiesWithTag(this.tempTag);
if (this.positionWatcher) {
this.positionWatcher.destroy();
@ -654,7 +655,6 @@ stepFarGrab.prototype = {
setControllerPartLayer('tips', 'blank');
setControllerPartLayer('trigger', 'normal');
hideEntitiesWithTag(this.tag, { visible: false});
hideEntitiesWithTag('bothGrab', { visible: false});
deleteEntitiesWithTag(this.tempTag);
if (this.positionWatcher) {
this.positionWatcher.destroy();
@ -1068,8 +1068,8 @@ TutorialManager = function() {
STEPS = [
new stepStart(this),
new stepOrient(this),
new stepNearGrab(this),
new stepFarGrab(this),
new stepNearGrab(this),
new stepEquip(this),
new stepTurnAround(this),
new stepTeleport(this),