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

	<title>Real-Time Physics Simulation Forum</title>
	
	<link href="https://pybullet.org/Bullet/phpBB3/index.php" />
	<updated>2019-01-15T03:33:56+00:00</updated>

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

		<entry>
		<author><name><![CDATA[teolazza]]></name></author>
		<updated>2019-01-15T03:33:56+00:00</updated>

		<published>2019-01-15T03:33:56+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=41782#p41782</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=41782#p41782"/>
		<title type="html"><![CDATA[Re: Using Bullet Collision Detection in an existing simulator]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=41782#p41782"><![CDATA[
btRigidBody inherits from btCollisionShape a user pointer that you can make to point to your data. Just call<br>setUserPointer on your btRigidBody instance<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=12317">teolazza</a> — Tue Jan 15, 2019 3:33 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rvimadalal]]></name></author>
		<updated>2018-07-13T20:15:20+00:00</updated>

		<published>2018-07-13T20:15:20+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=41038#p41038</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=41038#p41038"/>
		<title type="html"><![CDATA[Using Bullet Collision Detection in an existing simulator]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=41038#p41038"><![CDATA[
Hi everyone,<br>I am a researcher working in the field of Granular simulations. <br><br>We have an existing code with custom collision detection and physics. I am trying to replace the collision detection algorithms with the ones used in Bullet. The strategy I have employed is to add bullet Rigid body pointers as data members of the Particles class (our equivalent of the btRigidBody) in our simulation. I add these btRigidBodies to discrete dynamics world and then find colliding pairs. So when I get contacting bodies from the persistent manifold I know which bullet objects are colliding. But I also want to know which Particles are colliding because our physics engine works with particles and not btRigidBody. I am thinking of using a map with btRigidBody as the key but since we will be operating on a scale of hundreds of millions of particles, it will be very slow. Any help would be appreciated <img class="smilies" src="https://pybullet.org/Bullet/phpBB3/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=12806">rvimadalal</a> — Fri Jul 13, 2018 8:15 pm</p><hr />
]]></content>
	</entry>
	</feed>
