mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 01:24:03 +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.
|
||||
gravity = Vec3.multiply(Vec3.fromPolar(Math.PI / 2, 0), 10);
|
||||
} 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.");
|
||||
|
|
Loading…
Reference in a new issue