<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://pybullet.org/Bullet/phpBB3/app.php/feed/topic/8424" />

	<title>Real-Time Physics Simulation Forum</title>
	
	<link href="https://pybullet.org/Bullet/phpBB3/index.php" />
	<updated>2012-09-11T10:21:38+00:00</updated>

	<author><name><![CDATA[Real-Time Physics Simulation Forum]]></name></author>
	<id>https://pybullet.org/Bullet/phpBB3/app.php/feed/topic/8424</id>

		<entry>
		<author><name><![CDATA[Rope]]></name></author>
		<updated>2012-09-11T10:21:38+00:00</updated>

		<published>2012-09-11T10:21:38+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=28723#p28723</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=28723#p28723"/>
		<title type="html"><![CDATA[Deterministic in games]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=28723#p28723"><![CDATA[
Hello, Erwin <img class="smilies" src="https://pybullet.org/Bullet/phpBB3/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> <br>I developed a game about billiard. In the games I need to pre-integrate the position of balls.<br>And draw out their paths in the future.<br>When player check out their path, I will restore all ball's position and state.<br>But I always get the different result after integrating(fixed step time). <br><img class="smilies" src="https://pybullet.org/Bullet/phpBB3/images/smilies/icon_confused.gif" width="15" height="15" alt=":?" title="Confused"> <br><br>Step as follow:<br>1. remove all balls and create new balls<br>2. restore ball's position<br>3. pDiscreteDynamicWorld-&gt;getConstraintSolver()-&gt;reset();<br>4. ppDiscreteDynamicWorld-&gt;clearForces();<br>5. pDiscreteDynamicWorld-&gt;getBroadphase()-&gt;resetPool(pDiscreteDynamicWorld-&gt;getDispatcher())<br><br>How to get the same result after integrating.<br>Thank you.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=9560">Rope</a> — Tue Sep 11, 2012 10:21 am</p><hr />
]]></content>
	</entry>
	</feed>
