Hi folks,
I'm trying to change my audio listener from camera to my character but everytime i try to register the game obj as listener die unreal editor crashes.
this is the code which i put in the constructor of my character class:
AkGameObjectID MY_DEFAULT_LISTENER = 0;
AK::SoundEngine::RegisterGameObj(MY_DEFAULT_LISTENER, "My Default Listener");
AK::SoundEngine::SetDefaultListeners(&MY_DEFAULT_LISTENER, 1);
I searched die documentation but couldnt find anything :( and I cant understand why this is so complicated in c++ since integration via blueprint is such an easy task help would be very much appreaciated!!
kind regards,
Gerald