<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Maratis forum - Stop physics]]></title>
	<link rel="self" href="http://forum.maratis3d.com/extern.php?action=feed&amp;tid=815&amp;type=atom"/>
	<updated>2013-10-09T08:46:34Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.maratis3d.com/viewtopic.php?id=815</id>
		<entry>
			<title type="html"><![CDATA[Re: Stop physics]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=5415#p5415"/>
			<content type="html"><![CDATA[<p>Yes but I would have to copy all the code from the original MGame::update instead of just doing<br /></p><div class="codebox"><pre><code>MGame::update();</code></pre></div><p>in my derived class.<br />And just do<br /></p><div class="codebox"><pre><code>scene-&gt;stopPhysics();</code></pre></div><p>when I need it.</p>]]></content>
			<author>
				<name><![CDATA[255]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2540</uri>
			</author>
			<updated>2013-10-09T08:46:34Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=5415#p5415</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Stop physics]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=5408#p5408"/>
			<content type="html"><![CDATA[<p>the physics is runned by MGame::update :<br /><a href="https://code.google.com/p/maratis/source/browse/trunk/dev/MSDK/MEngine/Sources/MGame.cpp">https://code.google.com/p/maratis/sourc &#133; /MGame.cpp</a></p><p>you can create your custom MGame class and change the update function to run &quot;scene-&gt;updatePhysics();&quot; with a condition condition.</p>]]></content>
			<author>
				<name><![CDATA[anael]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2</uri>
			</author>
			<updated>2013-10-08T21:46:56Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=5408#p5408</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Stop physics]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=5405#p5405"/>
			<content type="html"><![CDATA[<p>How do you pause/stop physics?<br />I&#039;m currently putting all object mass to zero, but it would be cool to have a function in MScene for that. It&#039;s useful when debugging.</p>]]></content>
			<author>
				<name><![CDATA[255]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2540</uri>
			</author>
			<updated>2013-10-08T19:01:16Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=5405#p5405</id>
		</entry>
</feed>
