Well, I feel like a complete idiot.
I’ve read the document on the FMOD designer and wanted to implement that API into my current engine. I felt pretty confident since the documentation is quite easy to understand.
I can load projects and play() / stop() events with no problem, all FMOD api calls return FMOD_OK.
[b:33sat8yv]However[/b:33sat8yv] calling pParameter->setValue( any value ) returns true, however the value is not changed. This is driving me crazy.
I can call pParameter->setValue() as often as I want: I can’t change the value: pParameter->getValue() always stores a zero in my float… (and returns FMOD_OK ofcourse…)
Please help me out here.
I feel even more stupid now…
The parameter name before was named "(distance)", I changed it to something else without the brackets: now the value gets updated.
You might wanna take a look into that behaviour though and mention it somewhere, would be great
- SiS-Shadowman asked 8 years ago
Okay, this means that I can use distance as a parameter in the designer, map each distance value to a specific occlusion value and the only need to call set3DParameters (whatever the function name is called), without calling set3DOcclusion.
- SiS-Shadowman answered 8 years ago
Please login first to submit.