mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-15 12:38:46 +02:00
remove the double catch sound
This commit is contained in:
parent
276ab3741b
commit
10eb8985f4
1 changed files with 2 additions and 2 deletions
|
@ -125,12 +125,12 @@ void Hand::simulateToyBall(PalmData& palm, const glm::vec3& fingerTipPosition, f
|
|||
//printf(">>>>>>> caught... handID:%d particle ID:%d _toyBallInHand[handID] = true\n", handID, closestParticle->getID());
|
||||
_ballParticleEditHandles[handID] = caughtParticle;
|
||||
caughtParticle = NULL;
|
||||
// Play a catch sound!
|
||||
|
||||
// set the position of the catch sound to the new position of the ball
|
||||
_catchInjector.setPosition(targetPosition);
|
||||
|
||||
// inject the catch sound to the mixer and play it locally
|
||||
_catchInjector.injectViaThread(app->getAudio());
|
||||
app->getAudio()->startDrumSound(1.0, 300, 0.75, 0.015);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue