This commit is contained in:
James B. Pollack 2016-03-29 15:17:07 -07:00
parent 2f460f165b
commit 195543558e
2 changed files with 7 additions and 3 deletions

View file

@ -9,7 +9,7 @@
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
var PLANT_SCRIPT_URL = Script.resolvePath("atp:/scripts/growingPlantEntityScript.js" + Math.random());
var PLANT_SCRIPT_URL = Script.resolvePath("atp:/scripts/growingPlantEntityScript.js");
var WATER_CAN_SCRIPT_URL = Script.resolvePath("atp:/scripts/waterCanEntityScript.js");
Plant = function(spawnPosition, spawnRotation) {
var orientation;
@ -92,7 +92,11 @@ Plant = function(spawnPosition, spawnRotation) {
y: -2.0,
z: 0
},
velocity: {x: -0, y: -0.2, z: 0},
velocity: {
x: -0,
y: -0.2,
z: 0
},
rotation: waterCanRotation,
userData: JSON.stringify({
'hifiHomeKey': {

View file

@ -10,7 +10,7 @@
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
var MAZE_SCRIPT = Script.resolvePath('maze.js?' + Math.random());
var MAZE_SCRIPT = Script.resolvePath('atp:/tiltMaze/maze.js');
TiltMaze = function(spawnPosition, spawnRotation) {