mirror of
https://github.com/lubosz/overte.git
synced 2025-08-08 04:08:13 +02:00
change getFront to getForward
This commit is contained in:
parent
6e740a5fbb
commit
2515563a0b
1 changed files with 1 additions and 1 deletions
|
@ -206,7 +206,7 @@ ScrollingWindow {
|
||||||
print("Error: model cannot be both static mesh and dynamic. This should never happen.");
|
print("Error: model cannot be both static mesh and dynamic. This should never happen.");
|
||||||
} else if (url) {
|
} else if (url) {
|
||||||
var name = assetProxyModel.data(treeView.selection.currentIndex);
|
var name = assetProxyModel.data(treeView.selection.currentIndex);
|
||||||
var addPosition = Vec3.sum(MyAvatar.position, Vec3.multiply(2, Quat.getFront(MyAvatar.orientation)));
|
var addPosition = Vec3.sum(MyAvatar.position, Vec3.multiply(2, Quat.getForward(MyAvatar.orientation)));
|
||||||
var gravity;
|
var gravity;
|
||||||
if (dynamic) {
|
if (dynamic) {
|
||||||
// Create a vector <0, -10, 0>. { x: 0, y: -10, z: 0 } won't work because Qt is dumb and this is a
|
// Create a vector <0, -10, 0>. { x: 0, y: -10, z: 0 } won't work because Qt is dumb and this is a
|
||||||
|
|
Loading…
Reference in a new issue