diff --git a/unpublishedScripts/DomainContent/Home/blocky/blocky.js b/unpublishedScripts/DomainContent/Home/blocky/blocky.js index c7e35d15e7..8eae31a439 100644 --- a/unpublishedScripts/DomainContent/Home/blocky/blocky.js +++ b/unpublishedScripts/DomainContent/Home/blocky/blocky.js @@ -178,7 +178,9 @@ var TARGET_BLOCKS_POSITION = { this.createPlayableBlocks(arrangement); } - this.busy = false; + Script.setTimeout(function() { + _this.busy = false; + }, 1000) }, findBlocks: function() { @@ -257,15 +259,15 @@ var TARGET_BLOCKS_POSITION = { }, update: function() { - if (this.busy === true) { + if (_this.busy === true) { return; } var BEAM_TRIGGER_THRESHOLD = 0.075; var BEAM_POSITION = { - x: 1098.5159, - y: 460.0490, - z: -66.3012 + x: 1098.4424, + y: 460.3090, + z: -66.2190 }; var leftHandPosition = MyAvatar.getLeftPalmPosition(); diff --git a/unpublishedScripts/DomainContent/Home/blocky/wrapper.js b/unpublishedScripts/DomainContent/Home/blocky/wrapper.js index dfddbaff5d..5ae7d4592e 100644 --- a/unpublishedScripts/DomainContent/Home/blocky/wrapper.js +++ b/unpublishedScripts/DomainContent/Home/blocky/wrapper.js @@ -10,30 +10,20 @@ // -var RESETTER_POSITION = { - x: 1098.5159, - y: 460.0490, - z: -66.3012 -}; - BlockyGame = function(spawnPosition, spawnRotation) { var scriptURL = "atp:/blocky/blocky.js"; var blockyProps = { - type: 'Box', + type: 'Model', + modelURL:'atp:/blocky/swiper.fbx', name: 'home_box_blocky_resetter', - color: { - red: 0, - green: 0, - blue: 255 - }, dimensions: { - x: 0.25, - y: 0.25, - z: 0.25 + x: 0.2543, + y: 0.3269, + z: 0.4154 }, - rotation:Quat.fromPitchYawRollDegrees(-0.0029,32.9983,-0.0021), + rotation:Quat.fromPitchYawRollDegrees(-9.5165,-147.3687,16.6577), script: scriptURL, userData: JSON.stringify({ "grabbableKey": { diff --git a/unpublishedScripts/DomainContent/Home/reset.js b/unpublishedScripts/DomainContent/Home/reset.js index a15c0c4d87..ffa26fb8b3 100644 --- a/unpublishedScripts/DomainContent/Home/reset.js +++ b/unpublishedScripts/DomainContent/Home/reset.js @@ -342,9 +342,9 @@ }); var blocky = new BlockyGame({ - x: 1098.5159, - y: 460.0490, - z: -66.3012 + x: 1098.4424, + y: 460.3090, + z: -66.2190 }) print('HOME after creating scripted entities')