History

Loosen up the requirements for the turn step in the tutorial

Ryan Huffman committed 10 years ago

Commit e6d29001 parent 7b881a61 file · +2 −2Browse files

Showing the changes to tutorial/tutorial.js (1 of 1 file). Show all

Unified · Split

tutorial/tutorial.js+2−2
@@ -784,8 +784,8 @@ stepTurnAround.prototype = { · 783 unmodified lines
784 784
785 this.interval = Script.setInterval(function() {785 this.interval = Script.setInterval(function() {
786 debug("TurnAround | Checking if finished", this.numTimesTurnPressed);786 debug("TurnAround | Checking if finished", this.numTimesTurnPressed);
787 var FORWARD_THRESHOLD = 30;787 var FORWARD_THRESHOLD = 90;
788 var REQ_NUM_TIMES_PRESSED = 6;788 var REQ_NUM_TIMES_PRESSED = 3;
789 789
790 var dir = Quat.getFront(MyAvatar.orientation);790 var dir = Quat.getFront(MyAvatar.orientation);
791 var angle = Math.atan2(dir.z, dir.x);791 var angle = Math.atan2(dir.z, dir.x);