# AR Core: How to get "true/magnetic" north of the earth in blueprints?

**URL:** <https://forums.unrealengine.com/t/ar-core-how-to-get-true-magnetic-north-of-the-earth-in-blueprints/477010>\
**Category:** XR Development\
**Tags:** AR, unreal-engine, Android, Blueprint, question\
**Created:** [January 9, 2021, 4:38pm UTC](https://forums.unrealengine.com/t/ar-core-how-to-get-true-magnetic-north-of-the-earth-in-blueprints/477010 "2021-01-09T16:38:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![UnhingedGoon](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@UnhingedGoon](https://forums.unrealengine.com/u/UnhingedGoon)\
**Post date:** [January 9, 2021, 4:38pm UTC](https://forums.unrealengine.com/t/ar-core-how-to-get-true-magnetic-north-of-the-earth-in-blueprints/477010/1 "2021-01-09T16:38:55Z")

</div>

Hi,  
in the last couple of days I experimented with the AR Core plugin and wondered if it is possible to set the world alignment to the magnetic north of the earth.  
Is there a free plugin or tutorial available which is capable of accessing the compass of an android device or has anyone a solution for my problem?

Thx for any help 🙂

---

<div class="post-metadata">

**Author:** ![Thoeme](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Thoeme](https://forums.unrealengine.com/u/Thoeme)\
**Post date:** [January 28, 2021, 3:39pm UTC](https://forums.unrealengine.com/t/ar-core-how-to-get-true-magnetic-north-of-the-earth-in-blueprints/477010/2 "2021-01-28T15:39:35Z")

</div>

For Android you should be probably able to use this: [Magnetic Field Toolkit - Marketplace - Unreal Engine Forums](https://forums.unrealengine.com/unreal-engine/marketplace/1437192-magnetic-field-toolkit) (although it’s not free). Alternatively you can also check out this ([GeoLocation in Code Plugins - UE Marketplace](https://www.unrealengine.com/marketplace/en-US/product/geolocation)) one, which should support magnetometer for both platforms as stated in the description:

“This provides the current heading of devices with magnetometers to Magnetic North on iOS/Android. On iOS and Android this component can also provide the current heading to True North.”

Just to let you know: I wasn’t able to test both of them yet, but should be able to soon.

Hope that helps.

---

<div class="post-metadata">

**Author:** ![UnhingedGoon](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@UnhingedGoon](https://forums.unrealengine.com/u/UnhingedGoon)\
**Post date:** [January 28, 2021, 3:59pm UTC](https://forums.unrealengine.com/t/ar-core-how-to-get-true-magnetic-north-of-the-earth-in-blueprints/477010/3 "2021-01-28T15:59:27Z")

</div>

Thx anyway.  
I hoped that it’s somehow possible without this plugins, but i guess I either have to wait until they add it to AR Core or just buy a plugin. ^^

---

<div class="post-metadata">

**Author:** ![JoshinSam](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JoshinSam](https://forums.unrealengine.com/u/JoshinSam)\
**Post date:** [November 28, 2024, 2:07am UTC](https://forums.unrealengine.com/t/ar-core-how-to-get-true-magnetic-north-of-the-earth-in-blueprints/477010/4 "2024-11-28T02:07:59Z")

</div>

Were you able to figure it out ? I am trying to use the magnetic compass data, but is unable to figure out a way to do it.
