0
0

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.

edit
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 :)

  • You must to post comments
0
0

(distance) is an automatic parameter, and is always set to the distance from the listener.

  • You must to post comments
0
0

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.

That’s great :)

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.