mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-04 21:53:12 +02:00
Missed a scale multiplier.
This commit is contained in:
parent
0ea0887f66
commit
1edfc90e5e
1 changed files with 1 additions and 1 deletions
|
@ -555,7 +555,7 @@ bool Model::findSpherePenetration(const glm::vec3& penetratorCenter, float penet
|
|||
} while (ancestorIndex != -1);
|
||||
}
|
||||
start = extractTranslation(_jointStates[joint.parentIndex].transform);
|
||||
startRadius = geometry.joints[joint.parentIndex].boneRadius;
|
||||
startRadius = geometry.joints[joint.parentIndex].boneRadius * radiusScale;
|
||||
}
|
||||
if (findSphereCapsulePenetration(relativeCenter, penetratorRadius, start, end,
|
||||
(startRadius + endRadius) / 2.0f, bonePenetration)) {
|
||||
|
|
Loading…
Reference in a new issue