mirror of
https://github.com/overte-org/overte.git
synced 2025-08-05 01:30:18 +02:00
We don't want sound for these. This appears to avoid the Entities.getEntityProperties() deadlock within entity scripts. Variable names: energyPercentOfFull => energyFactorOfFull, because the range is 0-1, not 0-100. COLLISION_SOUND_COMPRESSION => COLLISION_SOUND_COMPRESSION_RANGE (portion of full dynamic range) Tune constants: COLLISION_ENERGY_AT_FULL_VOLUME 10 => 1 COLLISION_MINIMUM_VOLUME 0.01 => 0.001 COLLISION_SOUND_COMPRESSION_RANGE 0.5 => 0.95 Refer to SoundCache later, after filtering for collision threshold. |
||
---|---|---|
.. | ||
src | ||
CMakeLists.txt |