# Door Rotation Issue

### Door Prefab Rotation

{% hint style="info" %}

* Some door objects may appear flat when dragged from the prefabs folder
  * **Set X rotation to -90 to fix this issue**
    {% endhint %}

### **Door Custom Pivot Rotation**

{% hint style="info" %}
If you're having issues with a door rotating on multiple axis or just not rotating as you would expect, I have a solution for you.

* Make an empty GameObject which asks as your pivot point for your door.&#x20;
* Place the empty GameObject in the position you want your door to pivot from
* Then parent your door to that empty GameObject
* You can then use the empty parent as a way to rotate your door around, means rotations may work correct.&#x20;
  {% endhint %}

{% hint style="warning" %}
Here is a video explaining the process in general
{% endhint %}

{% embed url="<https://drive.google.com/file/d/1xc_egL-X12QF1rqQCPTo1pB4plXAgngK/view?usp=sharing>" %}
