# How can I add a little swing to my drag door?

**URL:** <https://forums.unrealengine.com/t/how-can-i-add-a-little-swing-to-my-drag-door/475622>\
**Category:** World Creation\
**Tags:** drag, unreal-engine, Physics, door, UE4, question, Blueprint\
**Created:** [December 8, 2020, 3:56pm UTC](https://forums.unrealengine.com/t/how-can-i-add-a-little-swing-to-my-drag-door/475622 "2020-12-08T15:56:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_7a89bb3c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_7a89bb3c](https://forums.unrealengine.com/u/anonymous_user_7a89bb3c)\
**Post date:** [December 8, 2020, 3:56pm UTC](https://forums.unrealengine.com/t/how-can-i-add-a-little-swing-to-my-drag-door/475622/1 "2020-12-08T15:56:18Z")

</div>

Hello!

I’m working on a drag door, like in Layers of Fear and Layers of Fear 2. I’m almost done, but when I rotate my door it is too fix. When I rotate a bit and release my door, I want to apply a little force to rotate more in that direction which I rotated. I hope you can understand this ':D.  
If don’t watch that video (First: mine, Second: what I want).

[https://streamable.com/feghei](https://streamable.com/feghei)

[https://streamable.com/bj14zl](https://streamable.com/bj14zl)

---

<div class="post-metadata">

**Author:** ![Kehel18](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kehel18](https://forums.unrealengine.com/u/Kehel18)\
**Post date:** [December 8, 2020, 5:16pm UTC](https://forums.unrealengine.com/t/how-can-i-add-a-little-swing-to-my-drag-door/475622/2 "2020-12-08T17:16:35Z")

</div>

Hi! Answer depends on what logic is used to rotate door. Is it PhysicsHandleComponent or just simple SetActorRotation in Timeline/Tick? Also, answer depends on state machine that is used to represent different states of door and transitions.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_7a89bb3c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_7a89bb3c](https://forums.unrealengine.com/u/anonymous_user_7a89bb3c)\
**Post date:** [December 8, 2020, 5:33pm UTC](https://forums.unrealengine.com/t/how-can-i-add-a-little-swing-to-my-drag-door/475622/3 "2020-12-08T17:33:26Z")

</div>

(This is a test project so this has no interface things and this is built in the character.)  
So the logic looks like this.

 ![324348-4.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/5/1/1515644ab633be20dfecbf6a6954baabdaadb26f.png)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_7a89bb3c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_7a89bb3c](https://forums.unrealengine.com/u/anonymous_user_7a89bb3c)\
**Post date:** [December 9, 2020, 9:04am UTC](https://forums.unrealengine.com/t/how-can-i-add-a-little-swing-to-my-drag-door/475622/4 "2020-12-09T09:04:24Z")

</div>

Well, I achieved that the force is on it when I release the mouse button, but it goes in the bad direction. Anybody has any idea why is that?

[https://streamable.com/ja9zp5](https://streamable.com/ja9zp5)
