mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-08-28 05:56:46 +02:00
atp
This commit is contained in:
parent
2f460f165b
commit
195543558e
2 changed files with 7 additions and 3 deletions
|
@ -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': {
|
||||
|
|
|
@ -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) {
|
||||
|
||||
|
|
Loading…
Reference in a new issue