# 3D Spatialization for Top-Down 2D Unity Game

**URL:** https://qa.fmod.com/t/3d-spatialization-for-top-down-2d-unity-game/21168
**Category:** Unity
**Tags:** csharp
**Created:** [January 30, 2024, 1:36am UTC](https://qa.fmod.com/t/3d-spatialization-for-top-down-2d-unity-game/21168 "2024-01-30T01:36:51Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![maxresdefault](https://avatars.discourse-cdn.com/v4/letter/m/f6c823/32.png) [@maxresdefault](https://qa.fmod.com/u/maxresdefault)
#### Post date: [January 30, 2024, 1:36am UTC](https://qa.fmod.com/t/3d-spatialization-for-top-down-2d-unity-game/21168/1 "2024-01-30T01:36:51Z")

</div>

Hi there, I’m working on a 2D top-down game (like old Zeldas/JRPGs) using Y as up/down and X as left/right. Everything is generally on the same Z axis.  
We have the Player Character set as the Attenuation Object.  
The 3D positioning generally works well but some times the panning gets wonky and I can’t figure out why.  
Is there some best practice with a 2D game and 3D sound events? Is there a way to change the 3D attributes of the studio listener? Thanks!

---

<div class="post-metadata">

### Author: ![Connor\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/connor_fmod/32/3685_2.png) [@Connor\_FMOD](https://qa.fmod.com/u/Connor_FMOD)
#### Post date: [January 30, 2024, 11:59pm UTC](https://qa.fmod.com/t/3d-spatialization-for-top-down-2d-unity-game/21168/2 "2024-01-30T23:59:43Z")

</div>

Hi,

What version of the FMOD integration are you using?

> [@maxresdefault](#):
>
> panning gets wonky and I can’t figure out why.

Can you elaborate on the issues you are hearing?

> [@maxresdefault](#):
>
> Is there some best practice with a 2D game and 3D sound events?

Unfortunately not. Could you explain your set up and we may be able to work out a solution best suited for you?

> [@maxresdefault](#):
>
> Is there a way to change the 3D attributes of the studio listener?

Yes, it is possible via code using [System::set3DListenerAttribues()](https://fmod.com/docs/2.02/api/core-api-system.html#system_set3dlistenerattributes).

Hope this helps!
