mirror of
https://github.com/lubosz/overte.git
synced 2025-08-08 03:27:48 +02:00
tweaks
This commit is contained in:
parent
bebfd7a301
commit
e3d880248f
1 changed files with 5 additions and 5 deletions
|
@ -15,13 +15,13 @@ var count = 0;
|
||||||
var moveUntil = 2000;
|
var moveUntil = 2000;
|
||||||
var stopAfter = moveUntil + 100;
|
var stopAfter = moveUntil + 100;
|
||||||
|
|
||||||
var pitch = 0.0;
|
var pitch = 90.0;
|
||||||
var yaw = 0.0;
|
var yaw = 0.0;
|
||||||
var roll = 0.0;
|
var roll = 180.0;
|
||||||
var rotation = Quat.fromPitchYawRollDegrees(pitch, yaw, roll)
|
var rotation = Quat.fromPitchYawRollDegrees(pitch, yaw, roll)
|
||||||
|
|
||||||
var originalProperties = {
|
var originalProperties = {
|
||||||
position: { x: 0,
|
position: { x: 10,
|
||||||
y: 0,
|
y: 0,
|
||||||
z: 0 },
|
z: 0 },
|
||||||
|
|
||||||
|
@ -51,8 +51,8 @@ function moveModel(deltaTime) {
|
||||||
|
|
||||||
// delete it...
|
// delete it...
|
||||||
if (count == moveUntil) {
|
if (count == moveUntil) {
|
||||||
//print("calling Models.deleteModel()");
|
print("calling Models.deleteModel()");
|
||||||
//Models.deleteModel(modelID);
|
Models.deleteModel(modelID);
|
||||||
}
|
}
|
||||||
|
|
||||||
// stop it...
|
// stop it...
|
||||||
|
|
Loading…
Reference in a new issue