<?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/12478" />

	<title>Real-Time Physics Simulation Forum</title>
	
	<link href="https://pybullet.org/Bullet/phpBB3/index.php" />
	<updated>2018-11-06T04:57:08+00:00</updated>

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

		<entry>
		<author><name><![CDATA[Erwin Coumans]]></name></author>
		<updated>2018-11-06T04:57:08+00:00</updated>

		<published>2018-11-06T04:57:08+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=41565#p41565</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=41565#p41565"/>
		<title type="html"><![CDATA[Re: Why bullet proposes value to clamp number of substeps?]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=41565#p41565"><![CDATA[
Clamping is important in real-time simulations, otherwise you get a feedback loop of slower and slower (grinding to a halt) if the time it takes to simulate is slower then the real-time clock.<br><div class="codebox"><p>Code: </p><pre><code>dt = clock.deltaTime();stepSimulation(dt);//if this takes longer than dt, then the next iteration, the dt will be larger, and stepSimulation also takes longer etc etc.</code></pre></div><p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=2">Erwin Coumans</a> — Tue Nov 06, 2018 4:57 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Yola]]></name></author>
		<updated>2018-11-02T09:13:08+00:00</updated>

		<published>2018-11-02T09:13:08+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=41552#p41552</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=41552#p41552"/>
		<title type="html"><![CDATA[Why bullet proposes value to clamp number of substeps?]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=41552#p41552"><![CDATA[
Why bullet needs maxSubSteps at all? Why to clamp value at all? In the code i saw the following comment:<br><div class="codebox"><p>Code: </p><pre><code>    //clamp the number of substeps, to prevent simulation grinding spiralling down to a halt    int clampedSimulationSteps = (numSimulationSubSteps &gt; maxSubSteps) ? maxSubSteps : numSimulationSubSteps;</code></pre></div>What does it mean?<blockquote class="uncited"><div> simulation grinding spiralling down</div></blockquote><p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=13061">Yola</a> — Fri Nov 02, 2018 9:13 am</p><hr />
]]></content>
	</entry>
	</feed>
