<?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 — Camera rotation based on touch issue]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=502</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=502&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Camera rotation based on touch issue.]]></description>
		<lastBuildDate>Sat, 23 Sep 2017 15:26:11 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Camera rotation based on touch issue]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=2840#p2840</link>
			<description><![CDATA[<p>Hi,</p><p>I&#039;m having a same problem when rotating a camera using my own script.<br />Can you guys show an example how to deal with this problem using a quaternions.</p>]]></description>
			<author><![CDATA[null@example.com (josip112001)]]></author>
			<pubDate>Sat, 23 Sep 2017 15:26:11 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=2840#p2840</guid>
		</item>
		<item>
			<title><![CDATA[Re: Camera rotation based on touch issue]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=2195#p2195</link>
			<description><![CDATA[<p>Hi Alex,</p><p>My issue was with the camera control. However, I created my own script in the meantime that fixes the issue. Thanks for the support and quick replies.</p>]]></description>
			<author><![CDATA[null@example.com (jamesar)]]></author>
			<pubDate>Wed, 12 Apr 2017 23:19:17 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=2195#p2195</guid>
		</item>
		<item>
			<title><![CDATA[Re: Camera rotation based on touch issue]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=2194#p2194</link>
			<description><![CDATA[<p>Hello.</p><p>You have a problem using &quot;Allow Camera Control&quot;, or you are trying to create your own script?<br />If the problem is in &quot;Allow Camera Control&quot;, please explain this in more detail.<br />If the problem is in your own script, then as Draco18s wrote, you need to use quaternions.<br /><a href="https://docs.unity3d.com/ScriptReference/Quaternion.html">https://docs.unity3d.com/ScriptReferenc … rnion.html</a></p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Wed, 12 Apr 2017 23:12:28 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=2194#p2194</guid>
		</item>
		<item>
			<title><![CDATA[Re: Camera rotation based on touch issue]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=2188#p2188</link>
			<description><![CDATA[<p>Yes, using quaternions instead of eulers. Euler rotations suffer from Gimbal Lock, the problem you describe is related.</p>]]></description>
			<author><![CDATA[null@example.com (Draco18s)]]></author>
			<pubDate>Wed, 12 Apr 2017 19:44:11 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=2188#p2188</guid>
		</item>
		<item>
			<title><![CDATA[Camera rotation based on touch issue]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=2186#p2186</link>
			<description><![CDATA[<p>Hi guys,</p><p>I&#039;m working through the calculation to update the camera position based on touch input right now. I&#039;m noticing that after rotating in a circle by a certain amount, the direction of the camera rotation will inverse and begin to rotate the opposite way to which you were previously rotating. </p><p>Is there a way to avoid this and simply continue the camera rotation in the same direction instead of it changing direction?</p><p>I&#039;ve noticed this occurs after dragging the pointer in a circular fashion past the 90 and 270 degree points.</p><p>Thanks for the help!</p>]]></description>
			<author><![CDATA[null@example.com (jamesar)]]></author>
			<pubDate>Wed, 12 Apr 2017 19:01:30 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=2186#p2186</guid>
		</item>
	</channel>
</rss>
