fixed avatar collisions

This commit is contained in:
Jeffrey Ventrella 2013-04-24 17:54:09 -07:00
parent 2163976f06
commit 72e6e18992

View file

@ -315,9 +315,9 @@ void Avatar::simulate(float deltaTime) {
// check for collisions with other avatars and respond
updateAvatarCollisionDetectionAndResponse
(
otherAvatar->getPosition(),
otherAvatar->getGirth(),
otherAvatar->getHeight(),
otherAvatar->getBonePosition( AVATAR_BONE_PELVIS_SPINE ),
0.2,
0.2,
otherAvatar->getBodyUpDirection(),
deltaTime
);
@ -610,7 +610,6 @@ void Avatar::updateAvatarCollisionDetectionAndResponse
}
}
void Avatar::render(bool lookingInMirror) {
// show avatar position