<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — Height of 3D Marker]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=359&amp;type=atom" />
	<updated>2016-12-27T15:35:40Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=359</id>
		<entry>
			<title type="html"><![CDATA[Re: Height of 3D Marker]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=1585#p1585" />
			<content type="html"><![CDATA[<p>I got it to work, thank you very much! <img src="https://forum.infinity-code.com/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[alexandra]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=328</uri>
			</author>
			<updated>2016-12-27T15:35:40Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=1585#p1585</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Height of 3D Marker]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=1584#p1584" />
			<content type="html"><![CDATA[<p>Yes of course.<br />You can change the position, rotation and scale of inner GameObject how and when you want.<br />No, it is not difficult. It takes just 30 seconds.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2016-12-27T14:22:48Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=1584#p1584</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Height of 3D Marker]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=1583#p1583" />
			<content type="html"><![CDATA[<p>Would this allow me to set the height of each sphere separately in code?<br />It sounds a bit complicated, but I will try it that way, thank you.<br />I&#039;ll let you know how it went after I implement it.</p>]]></content>
			<author>
				<name><![CDATA[alexandra]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=328</uri>
			</author>
			<updated>2016-12-27T13:02:50Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=1583#p1583</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Height of 3D Marker]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=1582#p1582" />
			<content type="html"><![CDATA[<p>If you want your GameObject has been at the same height at any zoom level, you do not need to use the altitude.</p><p>This can be done in another way:<br />• Wrap your prefab into new GameObject.<br />• Move the inner GameObject up.<br />• Create a new prefab from the outer GameObject.<br />• Use a new prefab for your 3d markers.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2016-12-27T12:56:26Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=1582#p1582</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Height of 3D Marker]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=1581#p1581" />
			<content type="html"><![CDATA[<p>Oh thank you for the reply!<br />I see now while zoomed in that it does change. How could I easily scale the altitude with the zoomlevel? What would the multiplication value be to display them at the same height at every zoomlevel?</p>]]></content>
			<author>
				<name><![CDATA[alexandra]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=328</uri>
			</author>
			<updated>2016-12-27T12:49:22Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=1581#p1581</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Height of 3D Marker]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=1580#p1580" />
			<content type="html"><![CDATA[<p>Hello.</p><p>The problem is that the zoom is very small, and you just do not see the altitude.<br />Increase the zoom and you&#039;ll see that the markers are flying.<br />I made a test script, and it works fine.<br />If you need, I&#039;ll attach this script.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2016-12-27T10:24:35Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=1580#p1580</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Height of 3D Marker]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=1579#p1579" />
			<content type="html"><![CDATA[<p>Hello!</p><p>I am having difficulties setting the height of a 3D Marker. We have a map on which a player can walk and it displays objects based on data (for example high object for high danger level). For this we decided to use the 3D Marker because it works with latitude and longitude.</p><p>I&#039;ve tried using either a 3D vector instead of 2D or setting the altitude manually, but they still appear at the origin of the Y axis.<br />Example:<br />// Marker position. Geographic coordinates.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Vector2 markerPosition = new Vector2(Random.Range((float)low_lon, (float)high_lon),<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Random.Range((float)low_lat, (float)high_lat));</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Create 3D marker<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; marker3D = control.AddMarker3D(markerPosition, markerPrefab);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; marker3D.scale = 20;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; marker3D.altitude = 1000;</p>]]></content>
			<author>
				<name><![CDATA[alexandra]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=328</uri>
			</author>
			<updated>2016-12-27T08:44:09Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=1579#p1579</id>
		</entry>
</feed>
