# Setting Up FMOD for A Top-Down Game in Unity

**URL:** https://qa.fmod.com/t/setting-up-fmod-for-a-top-down-game-in-unity/19622
**Category:** Unity
**Tags:** csharp, unity
**Created:** [December 6, 2022, 2:02pm UTC](https://qa.fmod.com/t/setting-up-fmod-for-a-top-down-game-in-unity/19622 "2022-12-06T14:02:27Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![JamesCLeelayuvat](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/jamescleelayuvat/32/4336_2.png) [@JamesCLeelayuvat](https://qa.fmod.com/u/JamesCLeelayuvat)
#### Post date: [December 6, 2022, 2:02pm UTC](https://qa.fmod.com/t/setting-up-fmod-for-a-top-down-game-in-unity/19622/1 "2022-12-06T14:02:27Z")

</div>

Hi, I’m a beginner in using FMOD and am wondering how to set up FMOD for spatialization in a top-down game. The only two axes are Y for front-back and X for left-right. If I don’t set anything up and insert a sound roughly on the left of the listener, the sound pops up on the right. Is there any set up I’m supposed to do for top-down games?

---

<div class="post-metadata">

### Author: ![Alcibiade](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/alcibiade/32/4284_2.png) [@Alcibiade](https://qa.fmod.com/u/Alcibiade)
#### Post date: [December 6, 2022, 3:55pm UTC](https://qa.fmod.com/t/setting-up-fmod-for-a-top-down-game-in-unity/19622/2 "2022-12-06T15:55:32Z")

</div>

For a top-down game, I recommend you to rather use the (x,z) plan (in FMOD 3d attributes), y being usually for the elevation, and set the listener facing the ground (like the camera) : forward vector (0,-1,0) and up vector (0,0,1). By default, coordinates are left-handed, which will be fine if you follow what I suggested just before.

---

<div class="post-metadata">

### Author: ![JamesCLeelayuvat](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/jamescleelayuvat/32/4336_2.png) [@JamesCLeelayuvat](https://qa.fmod.com/u/JamesCLeelayuvat)
#### Post date: [December 6, 2022, 4:20pm UTC](https://qa.fmod.com/t/setting-up-fmod-for-a-top-down-game-in-unity/19622/3 "2022-12-06T16:20:35Z")

</div>

How am I supposed to configure that? Do you mind writing it out or referring me to the API I need to read?

---

<div class="post-metadata">

### Author: ![Alcibiade](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/alcibiade/32/4284_2.png) [@Alcibiade](https://qa.fmod.com/u/Alcibiade)
#### Post date: [December 7, 2022, 12:20pm UTC](https://qa.fmod.com/t/setting-up-fmod-for-a-top-down-game-in-unity/19622/4 "2022-12-07T12:20:22Z")

</div>

Concerning the settings of the listener, here it is:  
[https://www.fmod.com/docs/2.02/api/core-api-system.html#system\_set3dlistenerattributes](https://www.fmod.com/docs/2.02/api/core-api-system.html#system_set3dlistenerattributes)  
However, in the Unity integration, I don’t know how it works. I guess it follows by default the camera, which should be the correct setting here.

Just ensure you’re sending the position of the objects on the (x,z) plan instead of (x,y).
