Answered
0
0

Hi,

We have a 2D engine, using FMOD 5 Low Level Api. We have issues when calling FMOD_ChannelGroup_Set3DAttributes.

We create a channelgroup (children of the master channelgroup) for each char, and attach the playing sounds on the char. To avoid looping over all the current playing channels, we call FMOD_ChannelGroup_Set3DAttributes to set the new char’s coordinate to let FMOD update all the playing channels. But we are having trouble, everytime we call FMOD_ChannelGroup_Set3DAttributes we get this error:

FMOD_ERR_NEEDS3D

Btw, all the sounds in the channels playing on the channelgroup are 3D and created with 3D flags.

Thanks in advance.

  • You must to post comments
Best Answer
0
0

By default ChannelGroups are created as 2D, to change them to 3D you will need to use ChannelGroup::setMode with the flag FMOD_3D.

https://fmod.com/resources/documentation-api?page=content/generated/FMOD_ChannelGroup_SetMode.html#/

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.