mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 06:18:52 +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();
|
glm::vec3 myPalmPosition = palm.getPosition();
|
||||||
float palmCollisionDistance = 0.1f;
|
float palmCollisionDistance = 0.1f;
|
||||||
palm.setIsCollidingWithPalm(false);
|
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];
|
PalmData& otherPalm = otherAvatar->getHand().getPalms()[j];
|
||||||
if (!otherPalm.isActive()) {
|
if (!otherPalm.isActive()) {
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in a new issue