Sounds parented to Attachments have issues regarding camera positions

It appears that while my initial bug report has been fixed, a subsequent bug relating to the angle between the camera’s look vector and the attachment’s position occurs. If the sound is emitting from anywhere infront or behind of the camera, the sound has no volume, whereas if its on either of the sides of the camera, you’re able to hear it far more clearly. This persists across all RollOffModes.

Edit:
For some odd reason, this is now carrying over into every sound outside of ones placed into the “Player” or other non-positional folders. I have absoloutely no idea what is causing this.

Edit2:
I can now no longer repro this problem, it seemed closing every window fixed this issue.

Again, same repro as before;
SoundAttachments.rbxl (12.7 KB)

As you move your camera to face away from the attachment you’ll begin to hear sounds, but once you cross a certain threshold, it will cut off again.
image
Green representing where sound can be heard from, red representing where it cannot be heard from.

2 Likes

Hi ednojack,

I’ve tested using your file and it appears that the behavior is correct, although it is very confusing since the sound depends on where the camera, not the character, is in relation to an invisible MaxDistance region which is not even centered at the visible Part.

I’d suggest doing the following so that the max-distance region is visible. Create a Part and place it under the Attachment alongside the Sound. Set its Shape to Ball, turn CanCollide off, set the transparency to 0.3, and set each parameter of the Size to be the same as the MaxDistance. Now you can see where the MaxDistance region is and when the camera is entering and exiting it.

Hope this helps.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.