Quantcast
Channel: Answers by "demonpants"
Viewing all articles
Browse latest Browse all 33

Answer by demonpants

0
0
Welp, I figured it out. Turns out that going between rooms causes the camera to move, and the prefab with the sound in it doesn't move. Even though I have a massive falloff for my AudioSource, it still was causing a doppler effect from this movement. I fixed it with: //no doppler effects for music GetComponent().dopplerLevel = 0.0f; //no spatial blend either GetComponent().spatialBlend = 0.0f; This is a good thing to do for music controllers. You don't want doppler effects and crap with those things unless it's coming from a source in the environment.

Viewing all articles
Browse latest Browse all 33

Latest Images

Trending Articles





Latest Images