mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 03:04:33 +02:00
it’s the other guys palms you want
This commit is contained in:
parent
0d76b370df
commit
6ab4839c3b
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue