Game Audio with Unity and Wwise Part 4: Random Containers, Switches and Basic Scripting
Correction: at 36:32 do not multiply with time.deltaTime. The equation is already frame rate independent and does not need to be adjusted. Thanks to Gabriel Miller for pointing that out!
Part 4 of an introduction on how to integrate audio or music into Unity game development projects with Audiokinetic Wwise. In this video we will implement footstep sounds with the help of Wwise Random Containers and Switches.
Links:
Original Footsteps Tutorial: https://youtube.com/playlist?list=PLzlEBXWjqM945VdJOKVbhvJ3lSsMHmLbj
Chapters:
0:00 Intro
1:18 Some additional cleaning up of our project
4:45 Adding footstep sounds in a random container
10:54 Adjusting the footstep sounds
16:36 Creating the footsteps event
18:25 Examining the Player Controller Script
22:37 Adjusting the Player Controller Script
28:08 Keeping track of time
39:30 A first attempt and some finetuning
41:08 Taking care of jumping and airtime
45:35 Preparing the landing sound
53:55 Adding the landing sound to Unity
56:43 Adding a patch of snow to walk on
1:02:24 Adding the a second set of footstep sounds to Wwise
1:07:28 Adding a Switch Group and a Switch Container
1:16:18 Activating the Switch in Unity
1:20:35 Switching the landing sounds
1:28:10 A final test and outro