# Get Relative Location return Absolute Location

**URL:** <https://forums.unrealengine.com/t/get-relative-location-return-absolute-location/335155>\
**Category:** World Creation\
**Tags:** physics-constraint, relative-location, unreal-engine, bug-report, question, Blueprint\
**Created:** [October 13, 2015, 10:25am UTC](https://forums.unrealengine.com/t/get-relative-location-return-absolute-location/335155 "2015-10-13T10:25:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_6fcbe82e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6fcbe82e](https://forums.unrealengine.com/u/anonymous_user_6fcbe82e)\
**Post date:** [October 13, 2015, 10:25am UTC](https://forums.unrealengine.com/t/get-relative-location-return-absolute-location/335155/1 "2015-10-13T10:25:09Z")

</div>

I’m having a blueprint class with 2 static meshes with a physics constraint between them.  
I would like to know the relative location of one of those meshes within the blueprint, however I’m pretty much 100% sure the get relative location is returning the absolute location in world.  
Is this because of the physics constraint? How can I get the relative location correctly?  
I even tried adding another scene node in the blueprint and put the meshes and contraint under that but I still ge the absolute location…

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6fcbe82e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6fcbe82e](https://forums.unrealengine.com/u/anonymous_user_6fcbe82e)\
**Post date:** [October 13, 2015, 10:27am UTC](https://forums.unrealengine.com/t/get-relative-location-return-absolute-location/335155/2 "2015-10-13T10:27:35Z")

</div>

Update: This bug only appears for the mesh that has physics turned on. The mesh without physics simulation is returning the correct relative location…

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6fcbe82e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6fcbe82e](https://forums.unrealengine.com/u/anonymous_user_6fcbe82e)\
**Post date:** [October 16, 2015, 10:07am UTC](https://forums.unrealengine.com/t/get-relative-location-return-absolute-location/335155/3 "2015-10-16T10:07:20Z")

</div>

ECHO!.. ECHO… Echo… echo…  
BUG REPORT! … BUG REPORT… Bug Report… bug report…

What is the hell is the use of the answerhub if I provide a clear bug report, and I receive no attention or answer?

---

<div class="post-metadata">

**Author:** ![PrimeShine](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PrimeShine](https://forums.unrealengine.com/u/PrimeShine)\
**Post date:** [November 2, 2016, 7:23am UTC](https://forums.unrealengine.com/t/get-relative-location-return-absolute-location/335155/4 "2016-11-02T07:23:24Z")

</div>

When physics constraint is turned on, the object is no longer relative.  
Instead, you can get the rotation by using the ‘get current swing’ function from your physics constraint.
