Jump to content

Entity::EmitSound issues


StOneDOes
 Share

Go to solution Solved by Josh,

Recommended Posts

Using Entity::EmitSound() I am not hearing the sound as a 3D spatial sound - it is very weighted to my left ear, no matter which direction I face, or how close to the entity playing the sound I am. Is there something I could be doing wrong? Essentially my component that is attached to an entity in the world calls GetEntity()->EmitSound( .... ).

Tested on latest dev branch.

Link to comment
Share on other sites

  • 2 weeks later...

@Joshso while that fixes emitted sounds, it appears to break standard sounds that are just played by calling the Play() function. Its like as though my camera has now spatialized a sound that should be heard directly by the player, such as weapon reload. If I reload my gun, I can hear it mostly in my left ear, and then as I turn my player around I can hear it in the other ear.

Is there something else here I have missed?

Link to comment
Share on other sites

5 hours ago, Dreikblack said:

Another option i think is speaker->SetSpatialization(false);

By default, mono sounds are spatialized and stereo are not. You can override this behavior with this command.

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...