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

	<title>Real-Time Physics Simulation Forum</title>
	
	<link href="https://pybullet.org/Bullet/phpBB3/index.php" />
	<updated>2006-10-30T20:35:21+00:00</updated>

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

		<entry>
		<author><name><![CDATA[Erwin Coumans]]></name></author>
		<updated>2006-10-30T20:35:21+00:00</updated>

		<published>2006-10-30T20:35:21+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=2272#p2272</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=2272#p2272"/>
		<title type="html"><![CDATA[collision primitives without depth]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=2272#p2272"><![CDATA[
<blockquote class="uncited"><div>How would bullet treat collisions of shapes that have no depth (e.g. C4's plate primitive)?</div></blockquote>Bullet requires moving/dynamic shapes to have some volume. Static plates/triangles would be no problem. The reason is that using discrete collision detection will easily miss collisions, but also inertia tensor and physics simulation require some volume. Once the continuous simulation is enabled, you might be able to use Bullet with very thin shapes, but no depth at all means you have to approximate some valid inertia tensor.<br><br>For moving objects, Bullet supports/works best with shape sizes in the range of say 15 centimeter up to 10 or 20 meter (units). <br><br>If your machine performances allows, you can decrease the fixed simulation timestep (the 3rd parameter, which defaults to 60 hertz). This can increase stability for thinner objects, but that is just experimental. If you like to experiment: check out the CcdPhysicsDemo, and decrease the height of the cylinders btCylinderShape, and change line 172 into:<div class="codebox"><p>Code: </p><pre><code>maxSimSubSteps = 10;float fixedTimeStep = 1.f/240.f;int numSimSteps = m_dynamicsWorld-&gt;stepSimulation(dt,maxSimSubSteps,fixedTimeStep);</code></pre></div>Thanks,<br>Erwin<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=2">Erwin Coumans</a> — Mon Oct 30, 2006 8:35 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[optime]]></name></author>
		<updated>2006-10-30T20:13:07+00:00</updated>

		<published>2006-10-30T20:13:07+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=2271#p2271</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=2271#p2271"/>
		<title type="html"><![CDATA[collision primitives without depth]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=2271#p2271"><![CDATA[
How would bullet treat collisions of shapes that have no depth (e.g. C4's plate primitive)?<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=1115">optime</a> — Mon Oct 30, 2006 8:13 pm</p><hr />
]]></content>
	</entry>
	</feed>
