# How to get LinearXMotion as we to with GetCurentSwing

**URL:** <https://forums.unrealengine.com/t/how-to-get-linearxmotion-as-we-to-with-getcurentswing/416047>\
**Category:** World Creation\
**Tags:** joints, unreal-engine, Physics, question\
**Created:** [January 31, 2018, 5:57pm UTC](https://forums.unrealengine.com/t/how-to-get-linearxmotion-as-we-to-with-getcurentswing/416047 "2018-01-31T17:57:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![RDaneelOlivaw](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RDaneelOlivaw](https://forums.unrealengine.com/u/RDaneelOlivaw)\
**Post date:** [January 31, 2018, 5:57pm UTC](https://forums.unrealengine.com/t/how-to-get-linearxmotion-as-we-to-with-getcurentswing/416047/1 "2018-01-31T17:57:07Z")

</div>

A simple question, how can we have the same functionality as **GetCurrentSwing1** but for **LinearXMotion** in a **UPhysicsConstraintComponent**? Because there is no function like that. Any workaround? Is there a secret function to get that?

---

<div class="post-metadata">

**Author:** ![hellobomm](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/hellobomm/32/552631_2.png) [@hellobomm](https://forums.unrealengine.com/u/hellobomm)\
**Post date:** [July 19, 2022, 8:51am UTC](https://forums.unrealengine.com/t/how-to-get-linearxmotion-as-we-to-with-getcurentswing/416047/2 "2022-07-19T08:51:32Z")

</div>

same question here!
