In this tutorial, Fionna shows how to make sound effects play on collision using CyanTrigger for VRChat's SKD3 worlds. It will cover two methods--one where the audio varies in pitch based on collision speed, and another in which the speed determines which audio clip to play from a list.
Download a drag and drop version of this prefab:
https://fionna.booth.pm/items/3502694
Download the latest VRChat SDK:
https://vrchat.com/home/download
Download CyanTrigger:
https://cyanlaser.booth.pm/items/3194594
https://patreon.com/CyanLaser
Download CyanEmu:
https://github.com/CyanLaser/CyanEmu
Prefab Database:
https://vrcprefabs.com/browse
0:00 - Intro
1:04 - Setup--speed-based pitch
6:04 - Pickup sound
6:31 - speed-based audio clip selection
7:20 - Refactoring, making local variable into global
10:28 - Getting index from a range
16:54 - Play sound with randomized pitch
18:33 - Call all customs on Collision
19:24 - Testing in CyanEmu