<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Infinity Code Forum — Using Compass sensor in android phone]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=139</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=139&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Using Compass sensor in android phone.]]></description>
		<lastBuildDate>Sun, 17 Apr 2016 18:23:26 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Using Compass sensor in android phone]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=604#p604</link>
			<description><![CDATA[<p>Hello, i used your alternative way with «Online Maps Inspector / Help / Check Updates» to download the last beta 2.4.0.30.<br />The new compass threshold option solved my problem... The map rotation is now very stable. <br />Thank you for quick help.</p>]]></description>
			<author><![CDATA[null@example.com (vertexview)]]></author>
			<pubDate>Sun, 17 Apr 2016 18:23:26 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=604#p604</guid>
		</item>
		<item>
			<title><![CDATA[Re: Using Compass sensor in android phone]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=603#p603</link>
			<description><![CDATA[<p>Sometimes Unity Editor does not display these menu items.<br />Unfortunately, I do not know why.<br />You can use alternative way «Online Maps Inspector / Help / Check Updates».</p><p>P.S. In Online Maps v2.4.0.11+, Check Updates, Playmaker Integration Kit and About now located in GameObject / Infinity Code / Online Maps.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Sun, 17 Apr 2016 11:44:59 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=603#p603</guid>
		</item>
		<item>
			<title><![CDATA[Re: Using Compass sensor in android phone]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=602#p602</link>
			<description><![CDATA[<p>Thank you for this quick answer.<br />I didn&#039;t found the menu entry &quot;Chek updates&quot; under &quot;Component / Infinity Code / Online Maps&quot;<br />The documention on this part seems easy<br />&quot;Online Maps has built-in update system, using which you can update Online Maps to the latest version and get early access to all versions and updates. Click «Component / Infinity Code / Online Maps / Check Updates», to open the window checking for updates&quot;.<br />... But i can&#039;t see this update possibility.<br />My Unity version is 5.3.4f1 and Online Maps is 2.3.0.18</p>]]></description>
			<author><![CDATA[null@example.com (vertexview)]]></author>
			<pubDate>Sun, 17 Apr 2016 10:00:44 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=602#p602</guid>
		</item>
		<item>
			<title><![CDATA[Re: Using Compass sensor in android phone]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=601#p601</link>
			<description><![CDATA[<p>Hello.</p><p>Please update Online Maps through built-in update to the latest beta version.<br />Online Maps v2.4.0.23+ has a compass threshold.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Sat, 16 Apr 2016 19:55:33 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=601#p601</guid>
		</item>
		<item>
			<title><![CDATA[Using Compass sensor in android phone]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=600#p600</link>
			<description><![CDATA[<p>Hi,<br />I tried to integrate in my Unity application a Tile map oriented from data given by Compass sensor on Android phone <br />I found a simple script code in Atlas of examples &quot;Rotate the camera on a compass&quot; (<a href="http://infinity-code.com/atlas/online-maps/">http://infinity-code.com/atlas/online-maps/</a>)</p><p>using UnityEngine;<br />public class CameraWithCompass : MonoBehaviour {<br />&nbsp; &nbsp; private void Start()<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; OnlineMapsLocationService.instance.OnCompassChanged += OnCompassChanged;<br />&nbsp; &nbsp; }</p><p>&nbsp; &nbsp; private void OnCompassChanged(float f)<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; OnlineMapsTileSetControl.instance.cameraRotation.y = f * 360;<br />&nbsp; &nbsp; }<br />}</p><p>Attached to the map object this script works quite fine, but the map rotation on phone is too much jerky...<br />I would like to know if there is a simple way to modify the script code above using average information from compass,... or reduce this sensor sensibility.</p>]]></description>
			<author><![CDATA[null@example.com (vertexview)]]></author>
			<pubDate>Sat, 16 Apr 2016 17:08:29 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=600#p600</guid>
		</item>
	</channel>
</rss>
