mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 13:43:49 +02:00
merge
This commit is contained in:
parent
f4a28850cf
commit
b6ac73bb57
1 changed files with 4 additions and 0 deletions
4
interface/src/avatar/Hand.cpp
Executable file → Normal file
4
interface/src/avatar/Hand.cpp
Executable file → Normal file
|
@ -131,6 +131,10 @@ void Hand::simulateToyBall(PalmData& palm, const glm::vec3& fingerTipPosition, f
|
|||
_ballParticleEditHandles[handID] = caughtParticle;
|
||||
caughtParticle = NULL;
|
||||
// Play a catch sound!
|
||||
_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