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

	<title>Real-Time Physics Simulation Forum</title>
	
	<link href="https://pybullet.org/Bullet/phpBB3/index.php" />
	<updated>2010-11-30T00:31:19+00:00</updated>

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

		<entry>
		<author><name><![CDATA[ramsampath]]></name></author>
		<updated>2010-11-30T00:31:19+00:00</updated>

		<published>2010-11-30T00:31:19+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=21136#p21136</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=21136#p21136"/>
		<title type="html"><![CDATA[Re: Deformation demo.]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=21136#p21136"><![CDATA[
thank you  - it seems to work.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=2716">ramsampath</a> — Tue Nov 30, 2010 12:31 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mi076]]></name></author>
		<updated>2010-11-05T05:44:45+00:00</updated>

		<published>2010-11-05T05:44:45+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=20845#p20845</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=20845#p20845"/>
		<title type="html"><![CDATA[Re: Deformation demo.]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=20845#p20845"><![CDATA[
I use ray test :<br>create custom ray callback result with access to LocalShapeInfo (index, subpart id),<br>register Gimpact collision algorithm and create Gimpact mesh shape.<br>Send ray, get index, access Gimpact shape's vertex data. Process and, optionally, modify it (deform).<br><br>Attached is very very minimal Bullet-like example of above... i have posted it somewhere already... this is little updated version.<br><blockquote class="uncited"><div>but for some reason the collision detection fails. </div></blockquote>BTW, just an attempt to guess : may be you are using custom "contact added callback" (it has index and subpart id too, if available)? Have you set<div class="codebox"><p>Code: </p><pre><code>body-&gt;setCollisionFlags(body-&gt;getCollisionFlags()|btCollisionObject::CF_CUSTOM_MATERIAL_CALLBACK);</code></pre></div>Thanks..<dl class="file"><dt><span class="imageset icon_topic_attach"></span> <a class="postlink" href="https://pybullet.org/Bullet/phpBB3/download/file.php?id=588">HitTriangleDemo.zip</a></dt></dl><p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=2636">mi076</a> — Fri Nov 05, 2010 5:44 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ramsampath]]></name></author>
		<updated>2010-11-04T01:32:55+00:00</updated>

		<published>2010-11-04T01:32:55+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=20804#p20804</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=20804#p20804"/>
		<title type="html"><![CDATA[Re: Deformation demo.]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=20804#p20804"><![CDATA[
hello,<br><br>thanks for your demo. <br><br>i am trying to use GImpact shapes with GImpact, both deforming shapes as collision shapes..., I update the positions and am calling postUpdate(), but for some reason the collision detection fails. <br><br>i was wondering what you had to do in special to get bullet to recognize collisions for deforming GImpact shapes.<br><br>thank you.<br>ram.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=2716">ramsampath</a> — Thu Nov 04, 2010 1:32 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[mi076]]></name></author>
		<updated>2010-11-06T15:59:57+00:00</updated>

		<published>2010-10-08T18:23:21+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=20409#p20409</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=20409#p20409"/>
		<title type="html"><![CDATA[Deformation demo.]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=20409#p20409"><![CDATA[
Small deformation demo, gimpact shape used.<br><br>Video:   <a href="http://www.youtube.com/watch?v=oALjGVzN8v4" class="postlink">http://www.youtube.com/watch?v=oALjGVzN8v4</a><br><br>Download:  <a href="http://code.google.com/p/game-ws/" class="postlink">http://code.google.com/p/game-ws/</a><br>Select deform_rXXX.7z.exe (self-extracting archive).<br><br>Usage: Run demo.exe (in "release" folder).<br>W,S,A,D and mouse to move.<br>LMB click to shoot.<br>F9 switch debug mode (collision triangles and points are visible in debug mode).<br>ESC to enter GUI / release mouse.<br><br><br>---------------------------<br>P.S. See also the attachment "HitTriangleDemo.zip" below.<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=2636">mi076</a> — Fri Oct 08, 2010 6:23 pm</p><hr />
]]></content>
	</entry>
	</feed>
