# Get component(door) rotation relative to physics constraint

**URL:** <https://forums.unrealengine.com/t/get-component-door-rotation-relative-to-physics-constraint/1136789>\
**Category:** Blueprint\
**Tags:** unreal-engine, Physics, Blueprint, question\
**Created:** [April 22, 2023, 11:52am UTC](https://forums.unrealengine.com/t/get-component-door-rotation-relative-to-physics-constraint/1136789 "2023-04-22T11:52:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mr\_tadshik](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mr\_tadshik](https://forums.unrealengine.com/u/mr_tadshik)\
**Post date:** [April 22, 2023, 11:52am UTC](https://forums.unrealengine.com/t/get-component-door-rotation-relative-to-physics-constraint/1136789/1 "2023-04-22T11:52:38Z")

</div>

Hi guys,

I’m trying to get the rotation/swing of the door relative to it’s physics constraint. But when i try to use GetCurrentSwing1 it always returns 0 despite the current rotation of the door. Is there another way to calculate it or i’m just missing something.

And also i want to get the same angle only depending on the rotation relative to physics constraint swing.

Thanks.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/3/8/f38829422d9e9b3fdeb7a4bce88ff2a128c6da27.jpeg)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/9/c/e9c4245c6620a97cab5c2bf0b32a259d5b5bee95.jpeg)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/a/f/aaf3879daa92906b85dccfa95473bcbe348e41b2.jpeg)

---

<div class="post-metadata">

**Author:** ![carrot\_soup](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/carrot_soup/32/700896_2.png) [@carrot\_soup](https://forums.unrealengine.com/u/carrot_soup)\
**Post date:** [October 29, 2024, 11:48pm UTC](https://forums.unrealengine.com/t/get-component-door-rotation-relative-to-physics-constraint/1136789/2 "2024-10-29T23:48:09Z")

</div>

Did you ever figure this out? I’m having the same issue.

When I log the output of these nodes, Get Current Swing 1 prints out an absurdly high number (5000+, though my constraint is limited to 90 degrees and works fine in game), and the others only print 0.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/7/8/d784c07995c0eb068c4a2c67623d5b143fe797cf.png)

Furthermore, swing 1 and swing 2 are _locked_ on my constraint, and it’s only the Twist axis that is moving.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/5/3/d53e64a498b244ad47098151952be0b552b163b6.png)

---

<div class="post-metadata">

**Author:** ![vizorsnix](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@vizorsnix](https://forums.unrealengine.com/u/vizorsnix)\
**Post date:** [August 27, 2025, 1:03pm UTC](https://forums.unrealengine.com/t/get-component-door-rotation-relative-to-physics-constraint/1136789/3 "2025-08-27T13:03:40Z")

</div>

![Angular Rotation](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/d/8/4d8f982220f0e09f40900303b1b85764f99164a7.png)

Seems there isn’t a “Get Current Angular Orientation” so the best alternative I found was to use “Get Angular Orientation Target” in combination with “Set Angular Drive Params” and “Set Angular Orientation Target”
