mirror of
https://github.com/overte-org/overte.git
synced 2025-04-26 13:36:12 +02:00
fixed avatar collisions
This commit is contained in:
parent
2163976f06
commit
72e6e18992
1 changed files with 3 additions and 4 deletions
|
@ -315,9 +315,9 @@ void Avatar::simulate(float deltaTime) {
|
||||||
// check for collisions with other avatars and respond
|
// check for collisions with other avatars and respond
|
||||||
updateAvatarCollisionDetectionAndResponse
|
updateAvatarCollisionDetectionAndResponse
|
||||||
(
|
(
|
||||||
otherAvatar->getPosition(),
|
otherAvatar->getBonePosition( AVATAR_BONE_PELVIS_SPINE ),
|
||||||
otherAvatar->getGirth(),
|
0.2,
|
||||||
otherAvatar->getHeight(),
|
0.2,
|
||||||
otherAvatar->getBodyUpDirection(),
|
otherAvatar->getBodyUpDirection(),
|
||||||
deltaTime
|
deltaTime
|
||||||
);
|
);
|
||||||
|
@ -610,7 +610,6 @@ void Avatar::updateAvatarCollisionDetectionAndResponse
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void Avatar::render(bool lookingInMirror) {
|
void Avatar::render(bool lookingInMirror) {
|
||||||
|
|
||||||
// show avatar position
|
// show avatar position
|
||||||
|
|
Loading…
Reference in a new issue