<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — How to rotate marker instead of the map?]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=228&amp;type=atom" />
	<updated>2016-08-03T10:12:55Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=228</id>
		<entry>
			<title type="html"><![CDATA[Re: How to rotate marker instead of the map?]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=1026#p1026" />
			<content type="html"><![CDATA[<p>In your script you do not rotate the marker.</p><p>It should be something like:<br /></p><div class="codebox"><pre><code>private void OnCompassChanged(float f)
{
    marker.rotation = f;
    OnlineMapsTileSetControl.instance.cameraRotation.y = f * 360;
}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2016-08-03T10:12:55Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=1026#p1026</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How to rotate marker instead of the map?]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=1023#p1023" />
			<content type="html"><![CDATA[<p>In the script attached I&#039;ve added some of your codes from SmoothMoveExample.cs and RotateMapInsteadMarkerExample.cs and RoteteCameraByGPSExample.cs. So the codes from SmoothMoveExample.cs and RoteteCameraByGPSExample.cs works well but I&#039;m Having problems with the codes from RotateMapInsteadMarkerExample.cs because whenever i change my compass values the marker doesn&#039;t rotate</p>]]></content>
			<author>
				<name><![CDATA[ogli223]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=191</uri>
			</author>
			<updated>2016-08-03T02:17:58Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=1023#p1023</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How to rotate marker instead of the map?]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=1018#p1018" />
			<content type="html"><![CDATA[<p>Hello.</p><p>Please explain more detail why you can not rotate the marker.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2016-08-02T11:20:24Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=1018#p1018</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[How to rotate marker instead of the map?]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=1015#p1015" />
			<content type="html"><![CDATA[<p>Hi!</p><p>I cant rotate my marker instead of the map. I&#039;ve use the codes in the sample script RotateMapInsteadMarkerExample.cs with my personal code</p>]]></content>
			<author>
				<name><![CDATA[ogli223]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=191</uri>
			</author>
			<updated>2016-08-02T10:40:11Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=1015#p1015</id>
		</entry>
</feed>
