mirror of
https://github.com/overte-org/overte.git
synced 2025-04-14 20:08:56 +02:00
🐛 Fixed avatar bounding box being inverted
This commit is contained in:
parent
634dc64f8f
commit
e27696802b
1 changed files with 1 additions and 1 deletions
|
@ -587,7 +587,7 @@ void CharacterController::setLocalBoundingBox(const glm::vec3& minCorner, const
|
||||||
}
|
}
|
||||||
|
|
||||||
// it's ok to change offset immediately -- there are no thread safety issues here
|
// it's ok to change offset immediately -- there are no thread safety issues here
|
||||||
_shapeLocalOffset = minCorner + 0.5f * scale;
|
_shapeLocalOffset = glm::vec3((minCorner + 0.5f * scale).x, (minCorner + 0.5f * scale).y, -(minCorner + 0.5f * scale).z);
|
||||||
|
|
||||||
if (_rigidBody) {
|
if (_rigidBody) {
|
||||||
// update CCD with new _radius
|
// update CCD with new _radius
|
||||||
|
|
Loading…
Reference in a new issue