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

	<title>Real-Time Physics Simulation Forum</title>
	
	<link href="https://pybullet.org/Bullet/phpBB3/index.php" />
	<updated>2011-11-25T12:28:39+00:00</updated>

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

		<entry>
		<author><name><![CDATA[sankalp]]></name></author>
		<updated>2011-11-25T12:28:39+00:00</updated>

		<published>2011-11-25T12:28:39+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=26271#p26271</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=26271#p26271"/>
		<title type="html"><![CDATA[Re: How to detect that which collider in collide...]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=26271#p26271"><![CDATA[
Thanks for reply.....<br>i assign user pointer to 2 bodies and check their collision in contactcall-back function with help of their user pointer...<br>this method solve my problem.....<br>is this proper method or not..???<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=8864">sankalp</a> — Fri Nov 25, 2011 12:28 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[majestik666]]></name></author>
		<updated>2011-11-24T20:22:56+00:00</updated>

		<published>2011-11-24T20:22:56+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=26263#p26263</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=26263#p26263"/>
		<title type="html"><![CDATA[Re: How to detect that which collider in collide...]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=26263#p26263"><![CDATA[
you could also use the collision mask/group (can't remember the exact name)<br>and use it to determine what object the collider is.<br>Or you can also attach a name to the rigid body and check the name...<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=6389">majestik666</a> — Thu Nov 24, 2011 8:22 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Dr.Shepherd]]></name></author>
		<updated>2011-11-24T10:39:58+00:00</updated>

		<published>2011-11-24T10:39:58+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=26259#p26259</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=26259#p26259"/>
		<title type="html"><![CDATA[Re: How to detect that which collider in collide...]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=26259#p26259"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>btCollisionObject* obA = static_cast&lt;btCollisionObject*&gt;(contactManifold-&gt;getBody0());btCollisionObject* obB = static_cast&lt;btCollisionObject*&gt;(contactManifold-&gt;getBody1());</code></pre></div>What I do is to check which object it is. <br><br>I suppose "Custom collision filtering" is another possible solution, but I didn't try it out. Anyone explains it here ?<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=7605">Dr.Shepherd</a> — Thu Nov 24, 2011 10:39 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[sankalp]]></name></author>
		<updated>2011-11-24T07:21:35+00:00</updated>

		<published>2011-11-24T07:21:35+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=26257#p26257</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=26257#p26257"/>
		<title type="html"><![CDATA[Re: How to detect that which collider in collide...]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=26257#p26257"><![CDATA[
Thanks for reply ...<br>i already use contact call back method but it gives only information that body of car is hit with collider...either it side collider or road collider...<br><br>i want to optimize it that it gives information when it hits with only side collider not when it hits with road or other collider...<br>Hope you understand my problem well...<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=8864">sankalp</a> — Thu Nov 24, 2011 7:21 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[majestik666]]></name></author>
		<updated>2011-11-24T05:40:29+00:00</updated>

		<published>2011-11-24T05:40:29+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=26256#p26256</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=26256#p26256"/>
		<title type="html"><![CDATA[Re: How to detect that which collider in collide...]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=26256#p26256"><![CDATA[
do a search for contacts callback on the forum<br>this has been answered many times before <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=6389">majestik666</a> — Thu Nov 24, 2011 5:40 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[sankalp]]></name></author>
		<updated>2011-11-24T05:39:36+00:00</updated>

		<published>2011-11-24T05:39:36+00:00</published>
		<id>https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=26255#p26255</id>
		<link href="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=26255#p26255"/>
		<title type="html"><![CDATA[How to detect that which collider in collide...]]></title>

		
		<content type="html" xml:base="https://pybullet.org/Bullet/phpBB3/viewtopic.php?p=26255#p26255"><![CDATA[
Hiii....<br>I am new in bullet physics. My project have a vehicle which collide with different colliders.<br>Is there any way to find out that vehicle is striking with which colliders for example colliding with road or colliding with side walls etc..<br><br>so please tell me how i find out that specific collider in bullet....<br><br>Thanks in advance..<p>Statistics: Posted by <a href="https://pybullet.org/Bullet/phpBB3/memberlist.php?mode=viewprofile&amp;u=8864">sankalp</a> — Thu Nov 24, 2011 5:39 am</p><hr />
]]></content>
	</entry>
	</feed>
