mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 20:13:40 +02:00
Update createPistol.js
This commit is contained in:
parent
8d3468265f
commit
b91e5c27e1
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
var center = Vec3.sum(MyAvatar.position, Vec3.multiply(1.5, Quat.getFront(Camera.getOrientation())));
|
var center = Vec3.sum(MyAvatar.position, Vec3.multiply(1.5, Quat.getFront(Camera.getOrientation())));
|
||||||
var scriptURL = Script.resolvePath('pistol.js');
|
var scriptURL = Script.resolvePath('pistol.js');
|
||||||
var modelURL = "https://s3.amazonaws.com/hifi-public/eric/models/gun.fbx";
|
var modelURL = "https://s3.amazonaws.com/hifi-public/eric/models/gun.fbx";
|
||||||
print('MAKING A PISTOLA')
|
|
||||||
|
|
||||||
var pistol = Entities.addEntity({
|
var pistol = Entities.addEntity({
|
||||||
type: 'Model',
|
type: 'Model',
|
||||||
|
|
Loading…
Reference in a new issue