mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 00:13:53 +02:00
Account for avatar scale
This commit is contained in:
parent
7da73d0ff1
commit
90d241ca3c
1 changed files with 1 additions and 1 deletions
|
@ -383,7 +383,7 @@ function getAvatarFootOffset() {
|
|||
// default vertical offset from foot to avatar root.
|
||||
return -MyAvatar.getAbsoluteDefaultJointTranslationInObjectFrame(footJointIndex).y;
|
||||
} else {
|
||||
return DEFAULT_ROOT_TO_FOOT_OFFSET;
|
||||
return DEFAULT_ROOT_TO_FOOT_OFFSET * MyAvatar.scale;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue