<?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 — Face 3D marker toward another coord]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=774</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=774&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Face 3D marker toward another coord.]]></description>
		<lastBuildDate>Fri, 09 Feb 2018 13:09:51 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Face 3D marker toward another coord]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=3352#p3352</link>
			<description><![CDATA[<p>Just wrap your marker into a new GameObject, rotate your marker 180 degrees, create a new prefab from the external GameObject, and use it for the markers.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Fri, 09 Feb 2018 13:09:51 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=3352#p3352</guid>
		</item>
		<item>
			<title><![CDATA[Re: Face 3D marker toward another coord]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=3351#p3351</link>
			<description><![CDATA[<p>that&#039;s definately easier. I&#039;m now trying:</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; onlinemapMarker3DInstance.marker.LookToCoordinates(new Vector2((float)longitudeB, (float)latitudeB));</p><p>Now...the marker always faces away from coord B. (The marker prefab has Z forward).</p>]]></description>
			<author><![CDATA[null@example.com (braden)]]></author>
			<pubDate>Fri, 09 Feb 2018 12:36:43 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=3351#p3351</guid>
		</item>
		<item>
			<title><![CDATA[Re: Face 3D marker toward another coord]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=3348#p3348</link>
			<description><![CDATA[<p>Hello.</p><p>The simplest way is OnlineMapsMarkerBase.LookToCoordinates.<br /><a href="http://infinity-code.com/doxygen/online-maps/classOnlineMapsMarkerBase.html#a92d31913c11e266cb2501ea569db3a77">http://infinity-code.com/doxygen/online … a569db3a77</a></p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Fri, 09 Feb 2018 11:50:58 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=3348#p3348</guid>
		</item>
		<item>
			<title><![CDATA[Face 3D marker toward another coord]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=3345#p3345</link>
			<description><![CDATA[<p>Hi,</p><p>If the 3d marker is at coord A, and i want it to face something at coord B...what&#039;s the best way to do that?</p><p>I&#039;ve tried rotating the marker on Y axis by using the Angle2D utility from OnlineMaps:</p><p>onlinemapMarker3DInstance.transform.rotation = Quaternion.Euler(0, (float)OnlineMapsUtils.Angle2D(longitudeA,latitudeA,longitudeB,latitudeB), 0);</p><p>And it never seems to face the right way. I tried reversing the A and B coord parameters in Angle2D also.</p>]]></description>
			<author><![CDATA[null@example.com (braden)]]></author>
			<pubDate>Fri, 09 Feb 2018 05:18:56 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=3345#p3345</guid>
		</item>
	</channel>
</rss>
