<?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 — How to get the camera coordinates ?]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=1756</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=1756&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in How to get the camera coordinates ?.]]></description>
		<lastBuildDate>Sat, 17 Apr 2021 15:43:21 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: How to get the camera coordinates ?]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=7390#p7390</link>
			<description><![CDATA[<p>Thanks for these explanations !<br />Phil</p>]]></description>
			<author><![CDATA[null@example.com (philzmz)]]></author>
			<pubDate>Sat, 17 Apr 2021 15:43:21 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=7390#p7390</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to get the camera coordinates ?]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=7389#p7389</link>
			<description><![CDATA[<p>Vector2 is a structure that contains the x and y fields.<br /><a href="https://docs.unity3d.com/ScriptReference/Vector2.html">https://docs.unity3d.com/ScriptReference/Vector2.html</a><br />These fields are of the float data type (32bit, ~6-9 digits).<br /><a href="https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/builtin-types/floating-point-numeric-types">https://docs.microsoft.com/en-us/dotnet … eric-types</a><br />Vector2.ToString() displays only one number after the decimal point, while this in reality has a lot more precision.<br />It&#039;s very easy to check this: display the value of the field x or y.<br />And I cannot change the display of Unity datatype in the third party asset.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Fri, 16 Apr 2021 23:51:49 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=7389#p7389</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to get the camera coordinates ?]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=7388#p7388</link>
			<description><![CDATA[<div class="quotebox"><cite>Alex Vertax wrote:</cite><blockquote><p>Hello.</p><p>To get the coordinates of the center of the map use Online Maps / Get Map Coordinates And Zoom.<br />To get the coordinates of any GameObject on the map, use Online Maps / Get Coordinates By World Position.</p></blockquote></div><p>This is of course what I tried first ! But I understand why :&nbsp; there is only 1 decimal in the coordinates displayed in the FSM variable, so as my terrain is not very large, I didn&#039;t see any change in the value when dragging the terrain !</p><p><span class="postimg"><img src="http://zmz.fr/ph/images/CamCoord.png" alt="PunBB bbcode test" /></span></p><p>Maybe you should add some decimals in the field to avoid this risk of question... I spent a lot of time on this issue...</p><p>Thanks<br />Phil</p>]]></description>
			<author><![CDATA[null@example.com (philzmz)]]></author>
			<pubDate>Fri, 16 Apr 2021 20:09:52 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=7388#p7388</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to get the camera coordinates ?]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=7387#p7387</link>
			<description><![CDATA[<p>Hello.</p><p>To get the coordinates of the center of the map use Online Maps / Get Map Coordinates And Zoom.<br />To get the coordinates of any GameObject on the map, use Online Maps / Get Coordinates By World Position.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Fri, 16 Apr 2021 19:00:45 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=7387#p7387</guid>
		</item>
		<item>
			<title><![CDATA[How to get the camera coordinates ?]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=7386#p7386</link>
			<description><![CDATA[<p>Hello, maybe a stupid question, but there is something pretty simple that I don&#039;t understand.</p><p>If the camera doesn&#039;t move (its worldposition is 0,0) its coordinates do change when the player is moving on the map (or more precisely the map is moving below the player).</p><p>So how do I get the lat/lng of the center of the map, or of an object (not a marker) on the map (in this case the Cam object).<br />I don&#039;t see any PM action to get this vector2 ?</p><p>Best regards, Phil</p>]]></description>
			<author><![CDATA[null@example.com (philzmz)]]></author>
			<pubDate>Fri, 16 Apr 2021 17:58:23 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=7386#p7386</guid>
		</item>
	</channel>
</rss>
