# How to animate a door to slide downwards in a Maze Game?

**URL:** <https://forums.unrealengine.com/t/how-to-animate-a-door-to-slide-downwards-in-a-maze-game/474533>\
**Category:** Character & Animation\
**Tags:** unreal-engine, question\
**Created:** [November 16, 2020, 2:20am UTC](https://forums.unrealengine.com/t/how-to-animate-a-door-to-slide-downwards-in-a-maze-game/474533 "2020-11-16T02:20:59Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_3234810e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3234810e](https://forums.unrealengine.com/u/anonymous_user_3234810e)\
**Post date:** [November 16, 2020, 2:20am UTC](https://forums.unrealengine.com/t/how-to-animate-a-door-to-slide-downwards-in-a-maze-game/474533/1 "2020-11-16T02:20:59Z")

</div>

I am working on a maze game and have reached a stage, where i need to make “a door opening” animation.  
In this case, I want the door to slide downwards. But instead of doing that the **player character camera** moves forward. I don’t know what the issue is.  
Any response is greatly appreciated and further details will also be provided.

---

<div class="post-metadata">

**Author:** ![brianheagney](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/brianheagney/32/706476_2.png) [@brianheagney](https://forums.unrealengine.com/u/brianheagney)\
**Post date:** [November 16, 2020, 4:08am UTC](https://forums.unrealengine.com/t/how-to-animate-a-door-to-slide-downwards-in-a-maze-game/474533/2 "2020-11-16T04:08:22Z")

</div>

How are you trying to slide the door downwards? Blueprints? If so, here’s how I animate doors. This is from a door that rotates on a pivot to open and close:

[](https://i.imgur.com/mbO6KcA.png)

---

<div class="post-metadata">

**Author:** ![brianheagney](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/brianheagney/32/706476_2.png) [@brianheagney](https://forums.unrealengine.com/u/brianheagney)\
**Post date:** [November 16, 2020, 4:10am UTC](https://forums.unrealengine.com/t/how-to-animate-a-door-to-slide-downwards-in-a-maze-game/474533/3 "2020-11-16T04:10:35Z")

</div>

Sorry, I couldn’t figure out how to post two images to my response - every time I added a second image, it logged me out. I tried answering about 4 times!

Here’s the image of my timeline (in the above image, it’s called “DoorOpen”

The timeline is just a one-second timeline that goes from 0 to 1 in that 1 second. It’s funneled out into the lerp, moving from A to B in the lerp rotator.

I hope that helps.

[https://i.imgur.com/q9RoPab.png](https://i.imgur.com/q9RoPab.png)

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [November 16, 2020, 10:51am UTC](https://forums.unrealengine.com/t/how-to-animate-a-door-to-slide-downwards-in-a-maze-game/474533/4 "2020-11-16T10:51:42Z")

</div>

> Sorry, I couldn’t figure out how to  
> post two images to my response - every  
> time I added a second image, it logged  
> me out. I tried answering about 4  
> times!

You gotta click fast. You have around, 1.2s before it logs you out…

---

<div class="post-metadata">

**Author:** ![brianheagney](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/brianheagney/32/706476_2.png) [@brianheagney](https://forums.unrealengine.com/u/brianheagney)\
**Post date:** [November 16, 2020, 4:13pm UTC](https://forums.unrealengine.com/t/how-to-animate-a-door-to-slide-downwards-in-a-maze-game/474533/5 "2020-11-16T16:13:33Z")

</div>

Is that true? I’d believe it because that’s what it felt like, but I don’t understand how that’s a good idea.

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [November 16, 2020, 4:22pm UTC](https://forums.unrealengine.com/t/how-to-animate-a-door-to-slide-downwards-in-a-maze-game/474533/6 "2020-11-16T16:22:11Z")

</div>

It’s somewhere between 0.1s and a couple of minutes. It’s been like that for some months now. And no, it’s not great 😑

---

<div class="post-metadata">

**Author:** ![brianheagney](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/brianheagney/32/706476_2.png) [@brianheagney](https://forums.unrealengine.com/u/brianheagney)\
**Post date:** [November 16, 2020, 4:58pm UTC](https://forums.unrealengine.com/t/how-to-animate-a-door-to-slide-downwards-in-a-maze-game/474533/7 "2020-11-16T16:58:31Z")

</div>

Oh! I see - it’s a glitch. Sorry, I haven’t been back here in years! I thought I was just missing some kind of security issue. Thanks for taking the time to get me up to date!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_3234810e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3234810e](https://forums.unrealengine.com/u/anonymous_user_3234810e)\
**Post date:** [November 25, 2020, 1:23pm UTC](https://forums.unrealengine.com/t/how-to-animate-a-door-to-slide-downwards-in-a-maze-game/474533/8 "2020-11-25T13:23:01Z")

</div>

Hello, Thank you for your response. I appreciate it a lot. Unfortunately its not fixing the issue . Could you please recommend me some options on how to get started with Unreal Engine. Every time I try creating a beginner game from a series on youtube, it doesn’t work out and this is the 3rd time it is happening to me.  
Please do keep replying!

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [November 25, 2020, 1:31pm UTC](https://forums.unrealengine.com/t/how-to-animate-a-door-to-slide-downwards-in-a-maze-game/474533/9 "2020-11-25T13:31:28Z")

</div>

Perhaps show us how you’re doing the door animation atm and we’ll try to poke holes in the method.

The script brianheagney posted is good, if you want sliding door use location, not rotation instead.

* * *

If you keep restarting without learning the fundamentals, you’ll keep running into the very same issue all over again.

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [November 25, 2020, 1:33pm UTC](https://forums.unrealengine.com/t/how-to-animate-a-door-to-slide-downwards-in-a-maze-game/474533/10 "2020-11-25T13:33:00Z")

</div>

> Could you please recommend me some  
> options on how to get started with  
> Unreal Engine.

Try here:

[https://www.unrealengine.com/en-US/onlinelearning-courses](https://www.unrealengine.com/en-US/onlinelearning-courses)
