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

	<title>Real-Time Physics Simulation Forum</title>
	
	<link href="https://pybullet.org/Bullet/phpBB3/index.php" />
	<updated>2006-10-14T18:27:58+00:00</updated>

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

		<entry>
		<author><name><![CDATA[Erwin Coumans]]></name></author>
		<updated>2006-10-14T18:27:58+00:00</updated>

		<published>2006-10-14T18:27:58+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=2140#p2140</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=2140#p2140"/>
		<title type="html"><![CDATA[Re: Restitution]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=2140#p2140"><![CDATA[
<blockquote class="uncited"><div>I noticed that if you set high Restitution, objects become unstable. They can not lie calmly! Even with Friction=1 they are dancing...<br>In appCcdPhysicsDemo add to localCreateRigidBody:<div class="codebox"><p>Code: </p><pre><code>body-&gt;setRestitution(1);body-&gt;setFriction(1);</code></pre></div>I can not create wall of objects with high Restitution. <br> <img class="smilies" src="https://pybullet.org/Bullet/phpBB3/images/smilies/icon_cry.gif" width="15" height="15" alt=":cry:" title="Crying or Very sad"></div></blockquote>Indeed. Right now, Bullet uses a penetration depth correction that adds a bit of energy to the system. When this is combined with too much resititution, this leads to issues. This can be improved in future version, one approach would be using the 'split impulse' idea, which means that the impulse necessary to correct penetration depth recovery is kept separate and doesn't affect the resulting velocity of the rigidbody.<br><br>There are other limitations that can lead to instability, and these should and will be documented. So avoid using too large restitution, large mass ratios (don't stack too heavy object on a very light object), large collision shapes and tiny collision shapes (&lt;0.2 units) etc.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=2">Erwin Coumans</a> — Sat Oct 14, 2006 6:27 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Jack]]></name></author>
		<updated>2006-10-14T08:53:57+00:00</updated>

		<published>2006-10-14T08:53:57+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=2135#p2135</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=2135#p2135"/>
		<title type="html"><![CDATA[Restitution]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=2135#p2135"><![CDATA[
I noticed that if you set high Restitution, objects become unstable. They can not lie calmly! Even with Friction=1 they are dancing...<br>In appCcdPhysicsDemo add to localCreateRigidBody:<div class="codebox"><p>Code: </p><pre><code>body-&gt;setRestitution(1);body-&gt;setFriction(1);</code></pre></div>I can not create wall of objects with high Restitution. <br> <img class="smilies" src="https://pybullet.org/Bullet/phpBB3/images/smilies/icon_cry.gif" width="15" height="15" alt=":cry:" title="Crying or Very sad"><p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=772">Jack</a> — Sat Oct 14, 2006 8:53 am</p><hr />
]]></content>
	</entry>
	</feed>
