<?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 — Problems with conversion accuracy]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=1931</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=1931&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Problems with conversion accuracy.]]></description>
		<lastBuildDate>Wed, 09 Mar 2022 09:12:34 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Problems with conversion accuracy]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=8163#p8163</link>
			<description><![CDATA[<p>Hello.</p><p>GetCoords converts screen position to coordinates, and that won&#039;t work for your purpose.</p><p>You need to use OnlineMapsTileSetControl.GetCoordsByWorldPosition:<br /><a href="https://infinity-code.com/doxygen/online-maps/classOnlineMapsTileSetControl.html#a30f7d0d07e9559cc57210b0ad55b7506">https://infinity-code.com/doxygen/onlin … 0ad55b7506</a></p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Wed, 09 Mar 2022 09:12:34 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=8163#p8163</guid>
		</item>
		<item>
			<title><![CDATA[Problems with conversion accuracy]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=8161#p8161</link>
			<description><![CDATA[<p>Hi, I&#039;m having trouble converting from World Position to Unity to lat - lon position. I am using the function <br />posLatLon = OnlineMapsControlBase.instance.GetCoords(posxz); <br />where posxz is a Vector2 that tells me the position of the object in the xz plane.<br />The imprecision is in the order of a hundred meters.</p><p>I noticed that using this function the accuracy is very high instead.<br />Vector2 posCursor = OnlineMapsControlBase.instance.GetCoords();</p><p>I know about the &quot;Get Position By World Coordinates&quot; action but I don&#039;t have it.</p><p>Thanks,<br />Ilaria</p>]]></description>
			<author><![CDATA[null@example.com (ilaria)]]></author>
			<pubDate>Tue, 08 Mar 2022 15:57:28 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=8161#p8161</guid>
		</item>
	</channel>
</rss>
