mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 15:30:38 +02:00
A more realistic default head height
This commit is contained in:
parent
913527eaa3
commit
d08a25f1a3
1 changed files with 2 additions and 1 deletions
|
@ -1023,7 +1023,8 @@ float Avatar::getHeadHeight() const {
|
||||||
if (!extents.isEmpty() && _skeletonModel.getNeckPosition(neckPosition)) {
|
if (!extents.isEmpty() && _skeletonModel.getNeckPosition(neckPosition)) {
|
||||||
return extents.maximum.y / 2.0f - neckPosition.y + _position.y;
|
return extents.maximum.y / 2.0f - neckPosition.y + _position.y;
|
||||||
}
|
}
|
||||||
const float DEFAULT_HEAD_HEIGHT = 0.1f;
|
|
||||||
|
const float DEFAULT_HEAD_HEIGHT = 0.25f;
|
||||||
return DEFAULT_HEAD_HEIGHT;
|
return DEFAULT_HEAD_HEIGHT;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue