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

	<title>Real-Time Physics Simulation Forum</title>
	
	<link href="https://pybullet.org/Bullet/phpBB3/index.php" />
	<updated>2022-09-24T10:36:16+00:00</updated>

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

		<entry>
		<author><name><![CDATA[bbird5490]]></name></author>
		<updated>2022-09-24T10:36:16+00:00</updated>

		<published>2022-09-24T10:36:16+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=44126#p44126</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=44126#p44126"/>
		<title type="html"><![CDATA[Re: Restitution dependend on timestep]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=44126#p44126"><![CDATA[
I tried this with version 3.25 with the same problem. <br><br>You can find my example code in this issue I posted on GitHub:<br><a href="https://github.com/bulletphysics/bullet3/issues/4341" class="postlink">https://github.com/bulletphysics/bullet3/issues/4341</a><br><br>In my case it works for a btBoxShape but not for the same box implemented as a btConvexHullShape. It also fails for a sphere like in OPs case.<br><br>I'm totally not an expert, but the fact that it works for btBoxShape and not for btConvexHullShape makes me think that this should be "solvable"? I went through the code a bit but I don't find anywhere where restitution is handled differently for btBoxShape and btConvexHullShape. Obviously it is different, but I can't find how. Can somebody point me in the right direction? Maybe it's something I can help with.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=14346">bbird5490</a> — Sat Sep 24, 2022 10:36 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[kangd]]></name></author>
		<updated>2018-05-12T13:11:51+00:00</updated>

		<published>2018-05-12T13:11:51+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=40627#p40627</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=40627#p40627"/>
		<title type="html"><![CDATA[Re: Restitution dependend on timestep]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=40627#p40627"><![CDATA[
Hello, <br><br>I've experienced same issue on Bullet recent version (2.88)<br><br>Is there any advanced yet?<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=12418">kangd</a> — Sat May 12, 2018 1:11 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[drleviathan]]></name></author>
		<updated>2017-09-05T16:22:51+00:00</updated>

		<published>2017-09-05T16:22:51+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=39905#p39905</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=39905#p39905"/>
		<title type="html"><![CDATA[Re: Restitution dependend on timestep]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=39905#p39905"><![CDATA[
I searched and found the <a href="http://www.bulletphysics.org/Bullet/phpBB3/viewtopic.php?f=9&amp;t=10695" class="postlink">old thread</a> about this problem:<br><br>I misremembered the double precision relevance.  It was mentioned but it was the same case as here: already being used.<br><br>It is a real bug with a reliable repro recipe.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=11033">drleviathan</a> — Tue Sep 05, 2017 4:22 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[thantalos]]></name></author>
		<updated>2017-09-05T07:36:34+00:00</updated>

		<published>2017-09-05T07:36:34+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=39901#p39901</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=39901#p39901"/>
		<title type="html"><![CDATA[Re: Restitution dependend on timestep]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=39901#p39901"><![CDATA[
Thank you but I am already using double precision. In any case I can't imagine that the values dealt with here get so small that numerical precision errors cause such a big deviation. And why would that only affect the ball and not also the much more unstable (in theory) box?<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=12348">thantalos</a> — Tue Sep 05, 2017 7:36 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[drleviathan]]></name></author>
		<updated>2017-09-02T16:48:07+00:00</updated>

		<published>2017-09-02T16:48:07+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=39892#p39892</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=39892#p39892"/>
		<title type="html"><![CDATA[Re: Restitution dependend on timestep]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=39892#p39892"><![CDATA[
I think someone else noticed this problem a while ago and as I recall: you need enable double precision floats when using very small timesteps.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=11033">drleviathan</a> — Sat Sep 02, 2017 4:48 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[thantalos]]></name></author>
		<updated>2017-09-01T10:01:26+00:00</updated>

		<published>2017-09-01T10:01:26+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=39889#p39889</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=39889#p39889"/>
		<title type="html"><![CDATA[Restitution dependend on timestep]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=39889#p39889"><![CDATA[
Hello guys!<br><br>I've been experimenting with bullet and came across a problem I can't explain it and I can't find any information on the problem.<br>My setup is as simple as possible: a small box and a small ball falling on a fixed large box. Restitution values for all objects are 1. <br><a href="https://ibb.co/h8VoUF" class="postlink"><img src="https://thumb.ibb.co/h8VoUF/rest1.png" class="postimage" alt="Image"></a><br>Everything seems fine when I run the simulation slower than 500Hz (stepSize &gt; 0.002). If I go above 500Hz, the ball suddenly doesn't work correctly any longer. It seems to loose energy, while the box is still behaving correctly. <br><a href="https://ibb.co/kb7k9F" class="postlink"><img src="https://thumb.ibb.co/kb7k9F/rest2.png" class="postimage" alt="Image"></a><br>Sphere z-Position at 400Hz (<span style="color:#0000FF">blue</span>) and 500Hz (<span style="color:#FF0000">red</span>)<br><a href="https://ibb.co/fqyp3a" class="postlink"><img src="https://thumb.ibb.co/fqyp3a/rest3.png" class="postimage" alt="Image"></a><br><br>Deactivating split impulse adds energy to the system as expected, independent of step size.<br>Friction parameters have no effect.<br>Number of iterations has no effect.<br>Changes to any ERP parameters have no effect.<br>It seems to be solely dependent on the real step size, using subSteps doesn't change the behavior ("real step size" = fixedStepSize/numSubSteps).<br><br>Shouldn't the simulation be more accurate at higher frequencies?<br><br>If there is any additional information I can give you please let me know.<br><br>Cheers!<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=12348">thantalos</a> — Fri Sep 01, 2017 10:01 am</p><hr />
]]></content>
	</entry>
	</feed>
