<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — Setting the Altitude of a 3D Marker]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=315&amp;type=atom" />
	<updated>2016-12-09T22:45:48Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=315</id>
		<entry>
			<title type="html"><![CDATA[Re: Setting the Altitude of a 3D Marker]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=1526#p1526" />
			<content type="html"><![CDATA[<p>Hello.</p><p>Altitude in meters.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2016-12-09T22:45:48Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=1526#p1526</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Setting the Altitude of a 3D Marker]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=1525#p1525" />
			<content type="html"><![CDATA[<p>Ah, I see! I wasn&#039;t aware of the build-in update system until now. Fantastic! Thank you very much. Performance seems better too.</p><p>What unit of measurement is the altitude in? Is it in meters, or feet? Or something else?</p>]]></content>
			<author>
				<name><![CDATA[bp10719]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=289</uri>
			</author>
			<updated>2016-12-09T22:38:38Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=1525#p1525</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Setting the Altitude of a 3D Marker]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=1484#p1484" />
			<content type="html"><![CDATA[<p>Hello.</p><p>Yes, this feature has already been implemented, and a new version (beta) is available through the built-in update system.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2016-12-05T21:18:37Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=1484#p1484</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Setting the Altitude of a 3D Marker]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=1482#p1482" />
			<content type="html"><![CDATA[<p>Hi there. Has there been any changes implemented in the tool that provides elevation for markers? Thanks!</p>]]></content>
			<author>
				<name><![CDATA[bp10719]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=289</uri>
			</author>
			<updated>2016-12-05T20:59:54Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=1482#p1482</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Setting the Altitude of a 3D Marker]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=1419#p1419" />
			<content type="html"><![CDATA[<p>That would be fantastic! I look forward to seeing the beta.</p>]]></content>
			<author>
				<name><![CDATA[bp10719]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=289</uri>
			</author>
			<updated>2016-11-09T19:22:12Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=1419#p1419</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Setting the Altitude of a 3D Marker]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=1417#p1417" />
			<content type="html"><![CDATA[<p>Hello.</p><p>This feature did not have clear timeline, because no one asked about it.<br />If you need it, we will speed up the development of this feature, and implement it in the next beta version. <br />I think it will be available next week.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2016-11-09T00:28:00Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=1417#p1417</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Setting the Altitude of a 3D Marker]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=1415#p1415" />
			<content type="html"><![CDATA[<p>Okay, gotcha.</p><p>I saw the Fly scene, but I need to be able to zoom and pan the map and move the object as well, so that is why I was hoping to use a 3D marker.</p><p>I will work with the transform.position.y for now. </p><p>What is the timeline like for 3d marker altitude? Is that a feature that may be in the next version?</p><p>Thanks for the help!</p>]]></content>
			<author>
				<name><![CDATA[bp10719]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=289</uri>
			</author>
			<updated>2016-11-08T19:52:46Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=1415#p1415</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Setting the Altitude of a 3D Marker]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=1413#p1413" />
			<content type="html"><![CDATA[<p>Hello.</p><p>We plan to add altitude for 3d markers, but it is not yet implemented.</p><p>Example of working with altitude has in «Fly» scene, the script «Aircraft.cs».</p><p>You have 2 ways:<br />1. Manually position of GameObject on the map (without markers, like in Fly scene).<br />2. Change transform.position.y of 3D markers.<br />Subscribe to OnlineMaps.OnMapUpdated, and when this event invoked update position.y of markers.</p><p>To prevent jittering, wrap your marker in the new empty GameObject, and update the transform.position.y of internal GameObject.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2016-11-07T23:18:43Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=1413#p1413</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Setting the Altitude of a 3D Marker]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=1412#p1412" />
			<content type="html"><![CDATA[<p>Hi there,</p><p>Great package, thanks!</p><p>I am having trouble setting the altitude of 3D markers. Correct me if I am wrong, but it seems like the package was intended to only allow markers that conformed to the surface of the map? None of the methods seem to take altitude into consideration when a developer wants to set the altitude.</p><p>I have a script setup where I am able to set the altitude of the marker by changing its transform.position.y in a LateUpdate, and also setting the execution order for this script to +1 in the Script Execution Order setting in Unity to avoid jittering of position.</p><p>My first issue, however, is that I am not sure what values to set for the altitude, as I do not know how that relates to distance on the map. I am currently setting arbitrary y values, it would be nice to be able to set the altitude through a method and forget about it.</p><p>My second issue&nbsp; is because I am setting the trannsform.position.y of the object, it appears to be at the same height relative to each zoom level. So if I am zoomed close to the surface and it looks like it may be at the right altitude, when I zoom out, it appears to be extremely high (still at the same y position, but the map itself has zoomed out).</p><p>Is there a way to accomplish this through the API? If not, what is the proper way to do this through setting the transform.position.y manually?</p><p>Thanks!</p>]]></content>
			<author>
				<name><![CDATA[bp10719]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=289</uri>
			</author>
			<updated>2016-11-07T22:42:48Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=1412#p1412</id>
		</entry>
</feed>
