mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 06:18:52 +02:00
change offsetPosition to use Camera.position
This commit is contained in:
parent
c729ceccb5
commit
30c16984c0
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
function getOffsetPosition() {
|
function getOffsetPosition() {
|
||||||
return Vec3.sum(MyAvatar.getHeadPosition(), Quat.getFront(Camera.orientation));
|
return Vec3.sum(Camera.position, Quat.getFront(Camera.orientation));
|
||||||
}
|
}
|
||||||
|
|
||||||
function onMuteToggled() {
|
function onMuteToggled() {
|
||||||
|
|
Loading…
Reference in a new issue