Audio Spatializer SDK. Source/Listener location matrix
Hi all,
So I'm a little confused regarding the matrix which has positional coordinates of sources/listener. What exactly are elements 0 - 11 in the array and how exactly can I get simple information about the rotation of my objects from Unity?
I just need a simple X-Y-Z rotation number, same which appears in Unity transform section.
Thank you!
you can access transform.rotation, that gives the quaternion, that you can simple change to x y z using quaternion.eulerangles.
yes but I need to access this via C++ script using Native Audio SD$$anonymous$$ through the listener position matrix but I dont understand how it is built and it is not well described in the documentation..
Your answer
![](https://koobas.hobune.stream/wayback/20220612190147im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Changing Impulse Response AudioClip in Convolution Reverb Demo plugin of the Native Audio Plugin SDK 2 Answers
Is it possible to access rig joints in C#? 0 Answers
Are you missing an assembly reference? Android build 0 Answers
WebRequest in unity 1 Answer
Efficient passing variable from Unity script to shader 0 Answers