mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 03:37:49 +02:00
url tweaks
This commit is contained in:
parent
8aa7228e54
commit
656d2f5c61
1 changed files with 4 additions and 2 deletions
|
@ -22,12 +22,14 @@ var shootingRangeFloor = Entities.addEntity({
|
||||||
})
|
})
|
||||||
|
|
||||||
var monsterPosition = Vec3.sum(MyAvatar.position, Vec3.multiply(3, Quat.getFront(Camera.getOrientation())));
|
var monsterPosition = Vec3.sum(MyAvatar.position, Vec3.multiply(3, Quat.getFront(Camera.getOrientation())));
|
||||||
var monsterURL = "file:///C:/Users/Eric/Desktop/shootingRange/monster2.fbx?v5"
|
var monsterURL = "file:///C:/Users/Eric/Desktop/shootingRange/monster2.fbx?v7"
|
||||||
var monster = Entities.addEntity({
|
var monster = Entities.addEntity({
|
||||||
type: "Model",
|
type: "Model",
|
||||||
modelURL: monsterURL,
|
modelURL: monsterURL,
|
||||||
position: monsterPosition,
|
position: monsterPosition,
|
||||||
dimensions: {x: 1.5, y: 1.6, z: 0.07}
|
dimensions: {x: 1.5, y: 1.6, z: 0.07},
|
||||||
|
collisionsWillMove: true,
|
||||||
|
shapeType: 'box'
|
||||||
});
|
});
|
||||||
|
|
||||||
function cleanup() {
|
function cleanup() {
|
||||||
|
|
Loading…
Reference in a new issue