<?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 — The problem with OnlineMapsCameraOrbit.rotation]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=2087</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=2087&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in The problem with OnlineMapsCameraOrbit.rotation.]]></description>
		<lastBuildDate>Mon, 20 Feb 2023 21:13:55 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: The problem with OnlineMapsCameraOrbit.rotation]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=8878#p8878</link>
			<description><![CDATA[<p>Hello.</p><p>See OnlineMapsEasyTouchConnector, OnlineMapsFingersTouchGesturesConnector or OnlineMapsTouchScriptConnector scripts to understand how to override the behaviour of OnlineMapsCameraOrbit script.</p><p>How to convert main camera rotation to Camera Orbit rotation:<br /></p><div class="codebox"><pre><code>Vector3 angles = Camera.main.transform.localRotation.eulerAngles;
OnlineMapsCameraOrbit.instance.rotation = new Vector2(90 - angles.x, angles.y - 180);</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Mon, 20 Feb 2023 21:13:55 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=8878#p8878</guid>
		</item>
		<item>
			<title><![CDATA[Re: The problem with OnlineMapsCameraOrbit.rotation]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=8877#p8877</link>
			<description><![CDATA[<p>Hey, I&#039;ve changed mousebutton (1) to (2) in my code to get what I want<br />But if you open the OnlineMapsCameraOrbit script, you won&#039;t be able to use the pan and zoom I wrote myself. I need to use only OnlineMapsCameraOrbit for rotation, pan and zoom which I wrote myself</p>]]></description>
			<author><![CDATA[null@example.com (259386905)]]></author>
			<pubDate>Mon, 20 Feb 2023 11:31:21 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=8877#p8877</guid>
		</item>
		<item>
			<title><![CDATA[The problem with OnlineMapsCameraOrbit.rotation]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=8876#p8876</link>
			<description><![CDATA[<p>We all know OnlineMapsCameraOrbit.Rotation is to be able to get the camera Angle.<br />But I now need to don&#039;t activate OnlineMapsCameraOrbit, Input MainCamera transform.rotation to get OnlineMapsCameraOrbit.Rotation.</p><p>What will I do?</p><br /><br /><p>（If someone on your team can speak Chinese, you can better understand what I mean.）</p><br /><p>我们都知道 OnlineMapsCameraOrbit.rotation是能获取摄像机的角度。<br />但是，我现在需要不激活 OnlineMapsCameraOrbit，而输入MainCamera的transform.rotation来获取OnlineMapsCameraOrbit.rotation</p>]]></description>
			<author><![CDATA[null@example.com (259386905)]]></author>
			<pubDate>Mon, 20 Feb 2023 08:43:49 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=8876#p8876</guid>
		</item>
	</channel>
</rss>
