mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 07:03:41 +02:00
Fix gravity zero vector
This commit is contained in:
parent
344ec25bcd
commit
90154158b6
1 changed files with 1 additions and 1 deletions
|
@ -213,7 +213,7 @@ ScrollingWindow {
|
||||||
// different scripting engine from QTScript.
|
// different scripting engine from QTScript.
|
||||||
gravity = Vec3.multiply(Vec3.fromPolar(Math.PI / 2, 0), 10);
|
gravity = Vec3.multiply(Vec3.fromPolar(Math.PI / 2, 0), 10);
|
||||||
} else {
|
} else {
|
||||||
gravity = { x: 0, y: 0, z: 0 };
|
gravity = Vec3.multiply(Vec3.fromPolar(Math.PI / 2, 0), 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
print("Asset browser - adding asset " + url + " (" + name + ") to world.");
|
print("Asset browser - adding asset " + url + " (" + name + ") to world.");
|
||||||
|
|
Loading…
Reference in a new issue