mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-05 03:26:15 +02:00
Fixing the url behavior
This commit is contained in:
parent
8360fceadf
commit
0a0a9805f6
2 changed files with 3 additions and 4 deletions
|
@ -15,8 +15,7 @@
|
|||
Script.include("https://hifi-public.s3.amazonaws.com/scripts/utilities.js");
|
||||
|
||||
|
||||
var scriptURL = "file:///C:/GitHub/hifi/examples/toys/flashlight/flashlight.js?"+randInt(0,1000);
|
||||
//var scriptURL = "https://hifi-public.s3.amazonaws.com/scripts/toys/flashlight/flashlight.js?"+randInt(0,1000);
|
||||
var scriptURL = "https://hifi-public.s3.amazonaws.com/scripts/toys/flashlight/flashlight.js?"+randInt(0,1000);
|
||||
|
||||
var modelURL = "https://hifi-public.s3.amazonaws.com/models/props/flashlight.fbx";
|
||||
|
||||
|
|
|
@ -87,8 +87,8 @@
|
|||
});
|
||||
_this._hasSpotlight = true;
|
||||
|
||||
// _this._startModelPosition = modelProperties.position;
|
||||
// _this._startModelRotation = modelProperties.rotation;
|
||||
_this._startModelPosition = modelProperties.position;
|
||||
_this._startModelRotation = modelProperties.rotation;
|
||||
|
||||
debugPrint("Flashlight:: creating a spotlight");
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue