mirror of
https://github.com/overte-org/overte.git
synced 2025-08-05 05:20:00 +02:00
add to world in front of MyAvatar
This commit is contained in:
parent
e227f68353
commit
7f0917ea00
1 changed files with 2 additions and 2 deletions
|
@ -132,8 +132,8 @@ Window {
|
|||
if (!url) {
|
||||
return;
|
||||
}
|
||||
|
||||
Entities.addModelEntity(url, MyAvatar.position);
|
||||
var addPosition = Vec3.sum(MyAvatar.position, Vec3.multiply(2, Quat.getFront(MyAvatar.orientation)));
|
||||
Entities.addModelEntity(url, addPosition);
|
||||
}
|
||||
|
||||
function copyURLToClipboard() {
|
||||
|
|
Loading…
Reference in a new issue