it’s the other guys palms you want

This commit is contained in:
Philip Rosedale 2013-12-16 17:14:19 -08:00
parent 0d76b370df
commit 6ab4839c3b

View file

@ -297,7 +297,7 @@ void Hand::updateCollisions() {
glm::vec3 myPalmPosition = palm.getPosition();
float palmCollisionDistance = 0.1f;
palm.setIsCollidingWithPalm(false);
for (int j = 0; j < getNumPalms(); j++) {
for (int j = 0; j < otherAvatar->getHand().getNumPalms(); j++) {
PalmData& otherPalm = otherAvatar->getHand().getPalms()[j];
if (!otherPalm.isActive()) {
continue;