<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — How to translate the map (or the Camera) on Y axis]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=1178&amp;type=atom" />
	<updated>2019-05-22T21:59:36Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=1178</id>
		<entry>
			<title type="html"><![CDATA[Re: How to translate the map (or the Camera) on Y axis]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=5023#p5023" />
			<content type="html"><![CDATA[<p>Yes, my fault sorry.<br />Many thanks</p>]]></content>
			<author>
				<name><![CDATA[danielesuppo]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=956</uri>
			</author>
			<updated>2019-05-22T21:59:36Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=5023#p5023</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How to translate the map (or the Camera) on Y axis]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=5012#p5012" />
			<content type="html"><![CDATA[<p>&quot;is a performance killer&quot; - what does this mean?<br />Why do you need to use adjustTo in Update?<br />You specify once what the camera should look at, and the camera automatically looks to the specified place.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2019-05-22T11:48:36Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=5012#p5012</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How to translate the map (or the Camera) on Y axis]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=5011#p5011" />
			<content type="html"><![CDATA[<p>Thank-you.<br />Do “OnlineMapsCameraOrbit.adjustTo&quot; is a performance killer or can I use it in Update?</p>]]></content>
			<author>
				<name><![CDATA[danielesuppo]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=956</uri>
			</author>
			<updated>2019-05-22T11:42:01Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=5011#p5011</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How to translate the map (or the Camera) on Y axis]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=5009#p5009" />
			<content type="html"><![CDATA[<p>Hello.</p><p>I think the best way is to use “OnlineMapsCameraOrbit.adjustTo = OnlineMapsCameraAdjust.gameObject”, set GameObject which the camera will look at (OnlineMapsCameraOrbit.adjustToGameObject).<br />In this case, you can get any camera pivot point by simply changing the position of GameObject.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2019-05-21T16:43:30Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=5009#p5009</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[How to translate the map (or the Camera) on Y axis]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=4996#p4996" />
			<content type="html"><![CDATA[<p>Hello,<br />I should move the map from Gps point A to Gps point B.<br />The problem is that the elevation of point B (800m) is much different from elevation of point A (200m), and my Camera is not perpendicular to the map, but is rotated 45° on X axis,&nbsp; so when a move the map to the new location the camera is looking at the wrong position (because the target of the camera stay at the bottom of the map (200m).</p><p>One possible solution, I think, would be to be able to smoothly move the target of the Camera to 800m.<br />Another one, I think, would be to smoothly shift down the map on Y axis, while the map is moving to the new position.</p><p>I&#039;ve read about &quot;OnlineMapsCameraOrbit.adjustTo&quot;, but I don&#039;t know how can I pass the new elevation in it.</p><p>Is it one of this option feasible? Or maybe there&#039;s a 3rd better option?<br />Many thanks!</p>]]></content>
			<author>
				<name><![CDATA[danielesuppo]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=956</uri>
			</author>
			<updated>2019-05-21T11:02:42Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=4996#p4996</id>
		</entry>
</feed>
