# Can someone explain Swing 1/2 and Twist?

**URL:** <https://forums.unrealengine.com/t/can-someone-explain-swing-1-2-and-twist/103357>\
**Category:** World Creation\
**Tags:** unreal-engine\
**Created:** [December 1, 2017, 2:40pm UTC](https://forums.unrealengine.com/t/can-someone-explain-swing-1-2-and-twist/103357 "2017-12-01T14:40:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![phil123456](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@phil123456](https://forums.unrealengine.com/u/phil123456)\
**Post date:** [December 1, 2017, 2:40pm UTC](https://forums.unrealengine.com/t/can-someone-explain-swing-1-2-and-twist/103357/1 "2017-12-01T14:40:32Z")

</div>

Hi,

these constraints make no sens at all, are counter intuitive and never work the way I expect them to

how can I force an object to rotate on one axis only ?

why is it when I try to limit swing 1 & 2 in a particular angle, it does not work at all

why when I use Swing 1 or Twist, it just does exactly the same thing

where are the other constraints ? like hinge ?

thanks

---

<div class="post-metadata">

**Author:** ![BoredEngineer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BoredEngineer](https://forums.unrealengine.com/u/BoredEngineer)\
**Post date:** [December 4, 2017, 9:32am UTC](https://forums.unrealengine.com/t/can-someone-explain-swing-1-2-and-twist/103357/2 "2017-12-04T09:32:30Z")

</div>

> [@](#):
>
> how can I force an object to rotate on one axis only ?

To force object to rotate in one axis only, just leave one axis limited or free, lock the rest.

> [@](#):
>
> why is it when I try to limit swing 1 & 2 in a particular angle, it does not work at all

Let’s say you have a door on a hinge and it should sit at 15 degrees in relation to a wall. To do this, you have to turn constraint itself to face 15 degrees direction.  
The other option is to enable drives/motors and set target direction there, but this is a different functionality - motors will actively produce force to keep constrained objects in specific positions.

> [@](#):
>
> why when I use Swing 1 or Twist, it just does exactly the same thing

Twist1, Twist 2 and Swing correspond to Roll, Yaw and Pitch (not specifically in this order). You can see in which axis constrain will work in editor - constraint root will have circles showing the arc of rotation.

Here is PhysX documentation on a subject:  
[http://docs.nvidia.com/gameworks/content/gameworkslibrary/physx/guide/Manual/Joints.html](http://docs.nvidia.com/gameworks/content/gameworkslibrary/physx/guide/Manual/Joints.html)

6D constrain (joint) can be used to create any other type of constrain.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_0792572e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0792572e](https://forums.unrealengine.com/u/anonymous_user_0792572e)\
**Post date:** [December 10, 2017, 3:17pm UTC](https://forums.unrealengine.com/t/can-someone-explain-swing-1-2-and-twist/103357/3 "2017-12-10T15:17:47Z")

</div>

nice, thanks Ill check these up

---

<div class="post-metadata">

**Author:** ![Aboseta](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Aboseta](https://forums.unrealengine.com/u/Aboseta)\
**Post date:** [August 25, 2020, 7:41pm UTC](https://forums.unrealengine.com/t/can-someone-explain-swing-1-2-and-twist/103357/4 "2020-08-25T19:41:35Z")

</div>

As of UE4 4.25.3 :

Twist : X axis  
Swing1 : Z Axis  
Swing2 : Y axis

I believe they should name them x,y and z for easier manipulation.

---

<div class="post-metadata">

**Author:** ![FrankW\_2025](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FrankW\_2025](https://forums.unrealengine.com/u/FrankW_2025)\
**Post date:** [July 1, 2026, 9:12am UTC](https://forums.unrealengine.com/t/can-someone-explain-swing-1-2-and-twist/103357/5 "2026-07-01T09:12:34Z")

</div>

hello,

This is an old topic but search engines still find it as one of the top links.

Could someone clarify how Roll, Yaw, and Pitch, a ka rotations around X, Z and Y translate to Swing1, Swing2, and Twist in constraints?

I can see two different answers and I find it confusing. I didn’t find any link to documentation. I believe it is somewhere but none of the search engines could find the link.

Thanks

EDIT. My understanding is that Roll and Yaw correspond to Swing1 and Swing2 but Pitch correspond to Twist. I am still not 100% sure if I am correct.
