<?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 — coords to world position]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=48</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=48&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in coords to world position.]]></description>
		<lastBuildDate>Tue, 03 Nov 2015 14:35:59 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: coords to world position]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=187#p187</link>
			<description><![CDATA[<p>Thanks alex.</p><p>Although I still don&#039;t know why, but I think I get the right output. I can figure out myself.</p>]]></description>
			<author><![CDATA[null@example.com (roronoazaoxl)]]></author>
			<pubDate>Tue, 03 Nov 2015 14:35:59 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=187#p187</guid>
		</item>
		<item>
			<title><![CDATA[Re: coords to world position]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=183#p183</link>
			<description><![CDATA[<p>Hello.</p><p>Example attached.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Mon, 02 Nov 2015 15:57:58 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=183#p183</guid>
		</item>
		<item>
			<title><![CDATA[Re: coords to world position]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=182#p182</link>
			<description><![CDATA[<p>After I read google document and try a example, I think you didnt get what I mean.</p><p>&nbsp; &nbsp; &nbsp; &nbsp; GameObject targetGo = ((OnlineMapsMarker3D)target).instance.gameObject;<br />&nbsp; &nbsp; &nbsp; &nbsp; GameObject playerGo = ((OnlineMapsMarker3D)player).instance.gameObject;</p><p>&nbsp; &nbsp; &nbsp; &nbsp; Debug.Log(Vector3.Distance(targetGo.transform.position, playerGo.transform.position));</p><br /><p>&nbsp; &nbsp; &nbsp; &nbsp; Vector2 markerTile = OnlineMapsUtils.LatLongToTilef(target.position, OnlineMaps.instance.zoom);<br />&nbsp; &nbsp; &nbsp; &nbsp; Vector2 playerTile = OnlineMapsUtils.LatLongToTilef(player.position, OnlineMaps.instance.zoom);</p><p>&nbsp; &nbsp; &nbsp; &nbsp; Debug.Log(Vector2.Distance(markerTile, playerTile));</p><p>the output is: 15.20264 and 0.05957031</p><p>lets take ingress as an example:</p><p>I want to draw a circle around player and its radius is 500m in real world so player can attack enemy in this range.<br />How should I project this 500m in the 3D game space? In other world what is the radius of that circle in game space?</p>]]></description>
			<author><![CDATA[null@example.com (roronoazaoxl)]]></author>
			<pubDate>Mon, 02 Nov 2015 14:42:39 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=182#p182</guid>
		</item>
		<item>
			<title><![CDATA[Re: coords to world position]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=180#p180</link>
			<description><![CDATA[<p>Hey, Alex, <br />Thanks for your example.</p><p>Do you mean tile position is the position of maker in 3D world space?</p>]]></description>
			<author><![CDATA[null@example.com (roronoazaoxl)]]></author>
			<pubDate>Mon, 02 Nov 2015 14:19:49 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=180#p180</guid>
		</item>
		<item>
			<title><![CDATA[Re: coords to world position]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=174#p174</link>
			<description><![CDATA[<p>Hello.</p><p>OnlineMapsUtils.DistanceBetweenPoints:<br /><a href="http://infinity-code.com/doxygen/online-maps/classOnlineMapsUtils.html#ab8588eb7b2eba619d6c3a0bc84a165f2">http://infinity-code.com/doxygen/online … bc84a165f2</a></p><p>Example:<br /><a href="http://infinity-code.com/atlas/online-maps/pages/DistanceAndDirectionExample.html">http://infinity-code.com/atlas/online-m … ample.html</a></p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Sat, 31 Oct 2015 10:33:55 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=174#p174</guid>
		</item>
		<item>
			<title><![CDATA[coords to world position]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=173#p173</link>
			<description><![CDATA[<p>Hey Alax,</p><p>In my game, I need to detect distance between player marker and other marker. Also I need to draw a circle to around player marker.</p><p>So I either have to translate real world markers distance to 3D world distance,&nbsp; or translate coords to 3D world position to perform calculation. <br />However I cannot find any api to get those done.</p><p>Can you let me know how could I do those?<br />Thanks,</p><p>Alax</p>]]></description>
			<author><![CDATA[null@example.com (roronoazaoxl)]]></author>
			<pubDate>Sat, 31 Oct 2015 08:32:32 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=173#p173</guid>
		</item>
	</channel>
</rss>
