<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Maratis forum - "Follow" lag]]></title>
	<link rel="self" href="http://forum.maratis3d.com/extern.php?action=feed&amp;tid=907&amp;type=atom"/>
	<updated>2014-01-07T05:17:59Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.maratis3d.com/viewtopic.php?id=907</id>
		<entry>
			<title type="html"><![CDATA[Re: "Follow" lag]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=6141#p6141"/>
			<content type="html"><![CDATA[<p>Yes, there is typically a one frame delay, specially with the use of physics.<br />When not using physics, the delay can be removed by forcing the matrix update from script : updateMatrix(player)</p><p>This is because the game update happens as follow :</p><p>1 : script &quot;onSceneUpdate&quot;<br />2 : behaviors update<br />3 : scene update<br />4 : physics update<br />5 : matrices update</p><p>If you want a perfect attach with no delay, it&#039;s better to use parenting (edit &gt; link selection).</p>]]></content>
			<author>
				<name><![CDATA[anael]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2</uri>
			</author>
			<updated>2014-01-07T05:17:59Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=6141#p6141</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: "Follow" lag]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=6133#p6133"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>anael wrote:</cite><blockquote><p>Hi, welcome,<br />your message got cut.</p><p>Just in case, did you check the &quot;YoFrankie&quot; example,<br />or &quot;Jules&quot; in &quot;Small Demos&quot; ? : <a href="http://www.maratis3d.org/?page_id=53">http://www.maratis3d.org/?page_id=53</a></p><p>There is a base for a 3rd person character in both examples.</p></blockquote></div><p>If I edit it it still stays cut.<br />Anyway the issue is a 1 frame delay if you set an object to follow another object with a delay of 0, even if you manually set the position every frame.<br />I have seen the demo but not the code, although I don&#039;t think it applies.<br />edit: Here&#039;s the game so far<br /><a href="http://thebest100028.com/retrotails/marbleblast.zip">http://thebest100028.com/retrotails/marbleblast.zip</a></p>]]></content>
			<author>
				<name><![CDATA[retrotails]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2735</uri>
			</author>
			<updated>2014-01-05T21:12:58Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=6133#p6133</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: "Follow" lag]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=6128#p6128"/>
			<content type="html"><![CDATA[<p>Hi, welcome,<br />your message got cut.</p><p>Just in case, did you check the &quot;YoFrankie&quot; example,<br />or &quot;Jules&quot; in &quot;Small Demos&quot; ? : <a href="http://www.maratis3d.org/?page_id=53">http://www.maratis3d.org/?page_id=53</a></p><p>There is a base for a 3rd person character in both examples.</p>]]></content>
			<author>
				<name><![CDATA[anael]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2</uri>
			</author>
			<updated>2014-01-05T05:42:55Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=6128#p6128</id>
		</entry>
		<entry>
			<title type="html"><![CDATA["Follow" lag]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=6126#p6126"/>
			<content type="html"><![CDATA[<p>To know when the player can jump in my game I have a ghost box just below the player model and I do isCollisionTest(). I&#039;d check the collision of the player but that&#039;s unreliable so I have a ghost object that clips through the ground a bit.<br />&nbsp; The problem is that I need to either use</p>]]></content>
			<author>
				<name><![CDATA[retrotails]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2735</uri>
			</author>
			<updated>2014-01-05T04:50:44Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=6126#p6126</id>
		</entry>
</feed>
