Range Voice Problem

Hello Everyone!
I use photon voice,however i face with a problem,

I have two client in game and I use push to talk,
It is nicely working when 2 character is closed together,however when two characters move away the voice is getting lower,
when two characters gets closer,voice becomes higher,how can i do it fixed voice for all ranges?

I use default PushToTalkScript that included in demo project.
Thanks Everyone!




Comments

  • JohnTube
    JohnTube ✭✭✭✭✭
    Hi @0xhex,

    Thank you for choosing Photon!

    This behavior is expected.
    You need to change the "3D Sound Settings" of the AudioSource component attached to the Audio Prefab.
  • 0xhex
    0xhex
    edited March 2018
    JohnTube said:

    Hi @0xhex,

    Thank you for choosing Photon!

    This behavior is expected.
    You need to change the "3D Sound Settings" of the AudioSource component attached to the Audio Prefab.

    My Player has an audio source,did you mean it?

    if i change it,doesn't walk sounds heard from everywhere?

    I develop fps game like cs go.
  • JohnTube said:

    Hi @0xhex,

    Thank you for choosing Photon!

    This behavior is expected.
    You need to change the "3D Sound Settings" of the AudioSource component attached to the Audio Prefab.

    ? what do you think about it?
  • JohnTube
    JohnTube ✭✭✭✭✭
    edited March 2018
    Hi @0xhex,

    This is a Unity thing, try searching for "3D settings in AudioSource" on the internet.
    I'm sure there are plenty of tutorials and videos.