<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — Airplane Altitude]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=1224&amp;type=atom" />
	<updated>2019-06-10T12:09:21Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=1224</id>
		<entry>
			<title type="html"><![CDATA[Re: Airplane Altitude]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=5136#p5136" />
			<content type="html"><![CDATA[<p>Use code from post #2.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2019-06-10T12:09:21Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=5136#p5136</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Airplane Altitude]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=5135#p5135" />
			<content type="html"><![CDATA[<p>Sorry for not being&nbsp; too clear..<br />I want pos.y equal to the real altitude of my airplane even when i&#039;m using elevation for my map.</p>]]></content>
			<author>
				<name><![CDATA[Amen]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=994</uri>
			</author>
			<updated>2019-06-10T12:06:44Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=5135#p5135</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Airplane Altitude]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=5134#p5134" />
			<content type="html"><![CDATA[<p>Please explain in detail what you want to do, and I will explain the best way to do it.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2019-06-10T11:42:56Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=5134#p5134</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Airplane Altitude]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=5133#p5133" />
			<content type="html"><![CDATA[<p>thank you for your answer.<br />There is a methode to get the altitude even if i&#039;m using elevation or it&#039;s complicated ?</p>]]></content>
			<author>
				<name><![CDATA[Amen]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=994</uri>
			</author>
			<updated>2019-06-10T11:29:46Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=5133#p5133</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Airplane Altitude]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=5132#p5132" />
			<content type="html"><![CDATA[<p>Hello.</p><p>Position.y is equal to altitude only if you are not using elevations.</p><p>Here is the code. Look at the second line:<br /></p><div class="codebox"><pre><code>pos.y = altitude;
if (elevationManager != null) pos.y *= OnlineMapsElevationManagerBase.GetBestElevationYScale(tlx, tly, brx, bry) * elevationManager.scale;</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2019-06-10T09:59:35Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=5132#p5132</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Airplane Altitude]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=5131#p5131" />
			<content type="html"><![CDATA[<p>Hi ,<br />Supposed that in &quot;Aircraft script&quot; ,position.y=Altitude .<br />But at runtime ,it not the same;pos.y increments when altitude changes but they have never the same values. ??</p>]]></content>
			<author>
				<name><![CDATA[Amen]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=994</uri>
			</author>
			<updated>2019-06-10T09:41:21Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=5131#p5131</id>
		</entry>
</feed>
