mumed
New Member
Posts: 2
Posts: 2
|
Post by mumed on Jul 25, 2016 14:45:09 GMT
Hello,
I have an issue, and can't find how to resolve it in documentation.
1. I'm calling the sounds from Event Sounds script by using 'Mechanim State Entered' Event to Activate.
The souns plays fine for the first time, but if I'm not leaving this state and restart it from the beginning - the sound can't be called for the second time. Is there an easy setup to fix this?
------------
2. Another small issue: the sounds I have in Unity are nice 3D sounds, but when I assign them into groups in Master Audio object - I can only hear them with one ear only (right). What am I missing and how to hear them properly with two ears?
|
|
|
Post by DarkTonic Dev on Jul 25, 2016 15:52:20 GMT
#1: No, that's our workaround for when you couldn't add code to Mechanim itself. You should try using the MechanimStateSounds script instead, which you add inside Mechanim and gets called from the actual Mechanim events (state entered etc). The only drawback is that it only can play sounds and not do the rest of what EventSounds can do. Hopefully that will work better.
#2: Your Audio Listener is probably to the left of the sounds. Double check the position of your Audio Listener vs the sounds position. If that is fine, then check out the 3D settings on the Audio Source of the sounds you are listening to at runtime. If you see anything weird there, let me know. There are various settings that are optional that you may have accidentally used?
|
|
mumed
New Member
Posts: 2
Posts: 2
|
Post by mumed on Jul 26, 2016 7:23:07 GMT
Thanks for the responce. I'll try to workaround with your advice.
|
|
|
Post by DarkTonic Dev on Jul 26, 2016 15:25:39 GMT
No problem.
|
|