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

	<title>Real-Time Physics Simulation Forum</title>
	
	<link href="https://pybullet.org/Bullet/phpBB3/index.php" />
	<updated>2006-05-24T21:23:52+00:00</updated>

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

		<entry>
		<author><name><![CDATA[Erwin Coumans]]></name></author>
		<updated>2006-05-24T21:23:52+00:00</updated>

		<published>2006-05-24T18:38:43+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1078#p1078</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1078#p1078"/>
		<title type="html"><![CDATA[CCD mode issue]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1078#p1078"><![CDATA[
<blockquote class="uncited"><div><blockquote class="uncited"><div>Very good maybe now you can document that Bullet does not have the limitation that Havok and Ageia has in its GJK.<br>I think that Bullet is a very good library and before it, there were only three legs on physics: Havok, Agia and ODE, now with Bullet quatrenium is completed. <img class="smilies" src="https://pybullet.org/Bullet/phpBB3/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><br><br>PS:<br>On the bright side from this criticism the result was positive: an improvement of what was already excellent and know is brilliant</div></blockquote>Now I am playing with 1.5d. appCcdPhysicsDemo sometimes hangs in GjkPairDetector::GetClosestPoints. Steps to reproduce:<br>1) set shooting speed to 120 (at speed 40 hangs too, but needs more patience)<br>2) set CCD mode<br>3) fire, wait until box hits the wall, reset scene<br>4) go to 3 if not hangs yet<br><br>I've tried this both in debug (with numObjects set to 120) and release.</div></blockquote>Thanks a lot for the feedback. There was an issue in Time Of Impact calculations (implementation from this paper: <a href="http://www.dtecta.com/papers/jgt04raycast.pdf" class="postlink">http://www.dtecta.com/papers/jgt04raycast.pdf</a> ). The GjkConvexCast implements the first 'brute force' version, SubsimplexConvexCast is the faster version (merged loops). GjkConvexCast was causing the problem. See line 125 of file:<br><a href="http://www.continuousphysics.com/Bullet/BulletFull/GjkConvexCast_8cpp-source.html" class="postlink">http://www.continuousphysics.com/Bullet ... ource.html</a><br><br>To fix it, replace 0.0 by -SIMD_EPSILON:<br><div class="codebox"><p>Code: </p><pre><code>     if (nDotr &gt;= -(SIMD_EPSILON*SIMD_EPSILON)) </code></pre></div>For nDotr values very close to 0, lambda became undefined (#INF), and things went wrong from there. <br><br>Can you let us know if this fixes your issue?<br><br>Thanks again, such feedback improves the software!<br>Version 1.5e is uploaded:<br><a href="http://www.continuousphysics.com/ftp/pub/test/index.php?dir=physics/source/&amp;file=bullet-1.5e-source.zip" class="postlink">http://www.continuousphysics.com/ftp/pu ... source.zip</a><br><br>Erwin<br><br>PS: There are some TODO's in using the ConvexCast: If objects start off in penetration and/or move away from eachother, this should be detected before entering the TOI calculation, because that is not handled within the calculation.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=2">Erwin Coumans</a> — Wed May 24, 2006 6:38 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[~MyXa~]]></name></author>
		<updated>2006-05-24T09:04:19+00:00</updated>

		<published>2006-05-24T09:04:19+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1076#p1076</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1076#p1076"/>
		<title type="html"><![CDATA[CCD mode issue]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=1076#p1076"><![CDATA[
<blockquote class="uncited"><div>Very good maybe now you can document that Bullet does not have the limitation that Havok and Ageia has in its GJK.<br>I think that Bullet is a very good library and before it, there were only three legs on physics: Havok, Agia and ODE, now with Bullet quatrenium is completed. <img class="smilies" src="https://pybullet.org/Bullet/phpBB3/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><br><br>PS:<br>On the bright side from this criticism the result was positive: an improvement of what was already excellent and know is brilliant</div></blockquote>Now I am playing with 1.5d. appCcdPhysicsDemo sometimes hangs in GjkPairDetector::GetClosestPoints. Steps to reproduce:<br>1) set shooting speed to 120 (at speed 40 hangs too, but needs more patience)<br>2) set CCD mode<br>3) fire, wait until box hits the wall, reset scene<br>4) go to 3 if not hangs yet<br><br>I've tried this both in debug (with numObjects set to 120) and release.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=487">~MyXa~</a> — Wed May 24, 2006 9:04 am</p><hr />
]]></content>
	</entry>
	</feed>
