<?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 — DragAndZoomInertia.cs vs InertiaExample.cs]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=1627</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=1627&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in DragAndZoomInertia.cs vs InertiaExample.cs.]]></description>
		<lastBuildDate>Wed, 28 Oct 2020 11:21:42 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: DragAndZoomInertia.cs vs InertiaExample.cs]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=6784#p6784</link>
			<description><![CDATA[<p>Well, I would call them &quot;micro stutters&quot; or something like that. It&#039;s a very subtle thing that just starts to happen when the camera is not perfectly synced with the scene. If I&#039;m not mistaken the example-script updates the tile/map-position in FixedUpdate which happens only a fixed amount of times per second and not at full framerate. I&#039;ll paste a modified version of the script which does the tile-position-update in the Update method. It&#039;s subtle but for me the difference is notable. Feel free to correct me on that, this has a lot to do with subtle perception. The script allows to toggle between the original mode and the Update base mode.</p><p>Regards,</p><p>Jürgen</p>]]></description>
			<author><![CDATA[null@example.com (negruj0w1tsch)]]></author>
			<pubDate>Wed, 28 Oct 2020 11:21:42 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=6784#p6784</guid>
		</item>
		<item>
			<title><![CDATA[Re: DragAndZoomInertia.cs vs InertiaExample.cs]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=6779#p6779</link>
			<description><![CDATA[<p>I just tested this and it works smoothly on my side.<br />Please explain in detail what you mean by &quot;jaggy&quot;.<br />Maybe I&#039;m just looking the other way.<br />A short video here will help a lot in explaining the problem.</p><p>This script was written many years ago and unfortunately I don&#039;t remember why I used FixedUpdate.<br />In theory, this should work the same in Update and FixedUpdate.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Tue, 27 Oct 2020 17:34:58 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=6779#p6779</guid>
		</item>
		<item>
			<title><![CDATA[Re: DragAndZoomInertia.cs vs InertiaExample.cs]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=6777#p6777</link>
			<description><![CDATA[<p>Alright, thanks. I&#039;m using the Drag and zoom intertia script now. It feels a little jaggy, or not as smooth as it could be imo. I assume this is because the position and zoom are updated inside the FixedUpdate method instead of Update. Any particular reason for that?</p><p>Cheers,</p><p>Jürgen</p>]]></description>
			<author><![CDATA[null@example.com (negruj0w1tsch)]]></author>
			<pubDate>Tue, 27 Oct 2020 08:48:46 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=6777#p6777</guid>
		</item>
		<item>
			<title><![CDATA[Re: DragAndZoomInertia.cs vs InertiaExample.cs]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=6772#p6772</link>
			<description><![CDATA[<p>Hello.</p><p>DragAndZoomInertia is an improved version of InertiaExample that adds zoom inertia.<br />Which example to use depends only on whether the zoom should have inertia or not.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Mon, 26 Oct 2020 11:38:25 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=6772#p6772</guid>
		</item>
		<item>
			<title><![CDATA[DragAndZoomInertia.cs vs InertiaExample.cs]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=6771#p6771</link>
			<description><![CDATA[<p>Hello,</p><p>This may be a weird question, but I&#039;m wondering which of the 2 Inertia examples you would recommend using. Apart from the zoom, is one of the 2 scripts better than the other in any way (e.g. cleaner code, more concise code, easier to tweak etc...)?</p><p>Regards,</p><p>Jürgen</p>]]></description>
			<author><![CDATA[null@example.com (negruj0w1tsch)]]></author>
			<pubDate>Mon, 26 Oct 2020 11:17:35 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=6771#p6771</guid>
		</item>
	</channel>
</rss>
