> For the complete documentation index, see [llms.txt](https://multicore-games.gitbook.io/smart-doors-and-windows-or-ue5-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://multicore-games.gitbook.io/smart-doors-and-windows-or-ue5-documentation/setup-and-implementation/getting-set-up/animation.md).

# Animation

<details>

<summary>Hinge Animation</summary>

The Door or Window animations work by Linear Interpolating the Hinge Rotation Angle from "Min Hinge Angle" to the "Max Hinge Angle" using a Timeline.

To change the Animation Play Rate (higher value is faster animation), select the desired Door or Window, go to:\ <mark style="color:green;">Details -> Visual -> Animation Play Rate</mark>

![](https://238249542-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4oMFO54oVm2ludQTOa3d%2Fuploads%2FrYl9ZqpbSjmkem5lwmbl%2Fimage.png?alt=media\&token=37b1dc10-cc6a-467d-9b1a-5afcf5044253)

To change the Hinge Angles, select the desired Door or Window, go to:\ <mark style="color:green;">Details -> Visual -> Min Hinge Angle / Max Hinge Angle</mark>

To open the Door or Window OUTWARDS, the "Max Hinge Angle" should be smaller than the "Min Hinge Angle".

To open the Door or Window INWARDS, the "Max Hinge Angle" should be bigger than the "Min Hinge Angle".

</details>

<details>

<summary>Developer Preview</summary>

The development preview is used for game developers to simulate the hinge movement during animation.

<mark style="color:red;">WARNING: The development preview is ACTIVE only in editor!</mark>&#x20;

By DEFAULT, when Begin Play event is triggered, the Door or Window RESETS to the original state by using the **Manual Reset** function.

![](https://238249542-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4oMFO54oVm2ludQTOa3d%2Fuploads%2FiORBqyvL7TH8hlurlSv3%2Fimage.png?alt=media\&token=b448e94f-66bf-4a17-9a08-3b33a25d6d22)

To enable / disable the developer preview go to:\ <mark style="color:green;">Details -> Visual -> Preview -> Preview Hinge Angle?</mark>

![](https://238249542-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4oMFO54oVm2ludQTOa3d%2Fuploads%2FcqW1yZZFMfnHbPGkwqLH%2Fimage.png?alt=media\&token=81892dc2-afa3-4a33-b84d-a911456368a9)

The developer Preview Alpha variable takes values from 0 to 1 and is used to go preview the animation from the "Min Hinge Angle" to the "Max Hinge Angle".

</details>
