Answered
0
0

Hi All,

I’ve successfully used the following information to get occlusion to work using line traces / ray casts in Unreal:

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

I am however seeing issues with the line trace itself – it’s doing unexpected things and thus causing the occlusion effect in FMOD to turn on and off when it shouldn’t be. Does anybody know how I can make the line traces visible in Unreal, so I can debug them?

When doing other kinds of line traces from Unreal Blueprints (for example “LineTraceByChannel”) there is a “Draw Debug Type” which makes it visible. I basically want the equivalent of this, but for the line traces from the FMOD Audio Components.

Thanks!

Jacob

  • You must to post comments
Best Answer
0
0

Figured out a way to do this now. :)

Screenshot of blueprint code available here:

https://imgur.com/a/FiDbu

Where in the screenshot it says ‘Engine Sound’ you basically need to substitute that for whichever FMOD audio component you are trying to test occlusion from.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.