menu
 

Audiokinetic의 커뮤니티 Q&A는 사용자가 Wwise와 Strata 커뮤니티 내에서 서로 질문과 답변을 하는 포럼입니다. Audiokinetic의 기술 지원팀에게 문의하고 싶으신 경우 지원 티켓 페이지를 사용해주세요.

0 투표
I'm having trouble using Unreal (4.25) C++ to post events as well as control RTPCs, or use any of the other features. Blueprints is fine but I feel I don't understand the correct way to do this with C++.

Integrations are all up to date and using the correct ones as far as I can tell, integrated via the launcher.

Is there a difference between using the Wwise_IDs.h and using AK::GAMEPARAMETERS::PARAM or the name itself AK::SoundEngine::SetRTPCValue(L"Param", Value)? Where Value is a number between 0-1.

I've also tried adding an AkComponent then calling AkComponent->SetRTPCValue(L"Param", Value) and AK::SoundEngine::SetRTPCValue(L"Param", (AkRtpcValue)Value)?

Also when I use either one of these my game crashes - i'm not sure why, it looks for the AkAtomic.h file but can't find it.

Can someone give me an example of how to use Unreal c++ and Wwise instead of Blueprints / tell me what I'm doing wrong?
General Discussion em (100 포인트) 로 부터

1 답변

0 투표
我也遇到 此问题,我给UAkComponent设置一个RTPC后,再播放一个Event,但是Event的声音并不是我所传的RTPC距离应该播放的声音,而是一直是用的RTPC自己在wise中设置的默认值,贴上我的代码

UAkComponent* TargetRoleAkComponent;  //注意,这个AK组件已经注册了,是从角色身上获取的

TargetRoleAkComponent->SetRTPC(rrrAkRtpc, 6000.f);

TargetRoleAkComponent->PostAkEventExt(AkEvent, false);

请问这个官方有什么解决方案
(140 포인트) 로 부터
...