커뮤니티 Q&A

Audiokinetic의 커뮤니티 Q&A 포럼에 오신 것을 환영합니다. 이 포럼은 Wwise와 Strata 사용자들이 서로 도움을 주는 곳입니다. Audiokinetic의 직접적인 도움을 얻으려면 지원 티켓 페이지를 사용하세요. 버그를 보고하려면 Audiokinetic 런처에서 Bug Report 옵션을 사용하세요. (Q&A 포럼에 제출된 버그 보고는 거절됩니다. 전용 Bug Report 시스템을 사용하면 보고 내용이 담당자에게 정확히 전달되어 문제 해결 가능성이 크게 높아집니다.)<segment 6493>

빠르고 정확한 답변을 얻으려면 질문을 올릴 때 다음 팁을 참고하세요.

  • 구체적인 내용을 적어주세요: 무엇을 하려는지, 혹은 어떤 특정 문제에 부딪혔는지 설명하세요.
  • 핵심 정보를 포함하세요: Wwise와 게임 엔진 버전, 운영체제 등 관련 정보를 함께 제공하세요.
  • 시도한 방법들을 알려주세요: 문제 해결을 위해 이미 어떤 단계를 시도해봤는지 설명해주세요.
  • 객관적인 사실에 초점을 맞추세요: 문제의 기술적 사실을 중심으로 설명하세요. 문제에 집중할수록 다른 사람들이 더 빠르게 해결책을 찾을 수 있습니다.

+1 투표
I'm currently playing around with Wwise and UE4 using blueprints and wanted to do a footstep system that switches depending on the surface type. (I've managed to do this using UE4 own audio engine) I'm kind of struggling figuring out how to do this using wwise as a plugin.

My Wwise event is a simple switch container that contains two random containers for each surface type. (Wood and Concrete)

I've been using notify events in my animation. http://postimg.org/image/fohlg0d1t/full/

I am then using this blueprint to pass my surface types as my character is passing over them (I'm using physical materials for this) http://postimg.org/image/3zc85t4nr/full/

The problem that I'm having is that I don't know how to reference my footstep event to connect to my set switch node in my animation blueprint of my character. Does anyone know how to do this? Or point me to some kind of documentation of how to do this.

Thank you!
General Discussion Filip C. (110 포인트) 로 부터

2 답변

0 투표
Hi Filip!

 

I am actually doing this exact same thing, have been for the past few years. So first off change your notify event to a regular animnotify (not the wwise one). That blueprint you have should be in an anim BP. It looks suspiciously similar to this tutorial ;)

https://www.youtube.com/watch?v=XgMk2dYtGxA

Which is the tutorial I assume you followed.

Anyways the trick is, is don't do it by switch. Just do it by AK event, you're basically manually creating the switch in UE4.

 

http://imgur.com/yuzJH5B

So all you have to do is create an event for each set of foot steps. Hope this helps! GL!

 

-Rob
Robert M. (4.6k 포인트) 로 부터
Hey Rob!

Thank you so much! Your solution worked like a charm!

Yep I was using that one :) At first I tried using box triggers, but it proved to be tedious task of placing them in the world - and once you have a complex terrain the entire level was filled with triggers.
I've done everything exactly like you guys but still no footsteps. The things I have done:
- Assign all materials to physical materials
- Add blueprints to Animation blueprints of characters
- Generate WWise events in UE

Hope someone can help me out. Cheers!
Hey Tri N; are the events in the animation anim bps? or AK anim notify?
Hi Rob!
The event anim notify is placed on the character's run animations and the blueprint is place in the animation blueprint for the hero. Right now I have the footstep coming through but only the default surface. I'm suspecting it has something to do with how the surface material's collision is set up in unreal 4.
Hope there's a way to solve this. I've been beating my head the past couple days trying to find a solution.
Any luck on finding a solution? I am stuck on the same thing and have been for days now
I'm having the same issue! seems to only play the default sounds, although randomly it will play one of the physical materials set up and then get stuck on that material. Has anyone found a solution?
0 투표
Hi Filip & Rob,

This is the way I've done it with 1 akevent posted on animation (which contains the material switch in Wwise) and 1 SetSwitch in Blueprint :

http://i.imgur.com/2bLdQn5.jpg : BP management

http://i.imgur.com/pR1h6HK.jpg : animation akevent notify

SeB
SeB (380 포인트) 로 부터
Hi SeB! Thank you!

I tried your solution, unfortunately I'm not able to make it work.
Where are you placing your BP management? (is it in the AnimBP, Level BP or a function?)

And is that blurred out node a "Get Player Character" - I'm not really sure how you are able to reference your actor in the set switch node.

Sorry for my ignorance, I'm just starting out learning UE4 and blueprints :)
Oh cool, I didn't think of doing it like that.
The BP is a Blueprint class which is added to your pawn as a component.
The blurred out box is your "Get Player Character"
...