# Panning in unity 1st person

**URL:** <https://qa.fmod.com/t/panning-in-unity-1st-person/12207>\
**Category:** Unity\
**Created:** [December 17, 2015, 1:47pm UTC](https://qa.fmod.com/t/panning-in-unity-1st-person/12207 "2015-12-17T13:47:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![graz](https://avatars.discourse-cdn.com/v4/letter/g/e79b87/32.png) [@graz](https://qa.fmod.com/u/graz)\
**Post date:** [December 17, 2015, 1:47pm UTC](https://qa.fmod.com/t/panning-in-unity-1st-person/12207/1 "2015-12-17T13:47:04Z")

</div>

Hi there,

My game is first person, my FMOD listener is on the main camera.  
I’ve tried with the 3d distnace attenuation on and off.

All my sounds play just the way I want however all the sounds appear to be playing from the origin point on the map (0,0,0). Thus if the camera is facing away the sounds are all panned left or right even if the object with the script is directly ahead of the player in the game world.

Unity version 4.6.7  
Fmod studio 1.06.05  
Windows 7

Any advice would be appreciated

---

<div class="post-metadata">

**Author:** ![nstevens](https://avatars.discourse-cdn.com/v4/letter/n/9e8a1a/32.png) [@nstevens](https://qa.fmod.com/u/nstevens)\
**Post date:** [December 19, 2015, 4:03am UTC](https://qa.fmod.com/t/panning-in-unity-1st-person/12207/2 "2015-12-19T04:03:26Z")

</div>

Are you playing the sound from the StudioEventEmitter component or a custom component? If it’s the latter, you need to update the event’s 3D attributes from the Update function.
