# 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>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://speedtutoruk.gitbook.io/door-interaction-kit-doc/support/door-rotation-issue.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
