- Home /
footstep effect and sound in sync for enemies
Hello, I am trying to make an enemy that has a step sound and also plays a particle effect in time with it. However, I am having difficulty figuring out how to go about it. What I was trying was using the audiosource.time variable to see where the clip was but it didn't sync the particle effect with the clip. Any ideas?
Answer by Buretto · Sep 25, 2018 at 12:02 AM
Not sure why you cant just call both audiosource.play and particlesystem.play at the same time?
If it is a loop it should be pretty easy to just hard code the particle effect to play every time a footstep sound is played. Just get the interval and sync it.
Your answer
Follow this Question
Related Questions
2 audio or more at the same time 0 Answers
Microphone Question 0 Answers
Play MPEG from web options 0 Answers
How to manage player and enemies shooting sounds at the same time? 1 Answer