Physics Simulation Forum

 

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Fri Nov 24, 2006 8:51 am 
Offline

Joined: Thu Oct 26, 2006 8:36 am
Posts: 12
i think this flag is set the object whether or not be collision.
but i have no idea that how to set the flag.

for example,i have 3 object,i want object1 can not collision with object2,
but object1 can collision object3, how can i set the flag?

thanks!


Top
 Profile  
 
PostPosted: Fri Nov 24, 2006 1:02 pm 
Offline
Site Admin
User avatar

Joined: Sun Jun 26, 2005 6:43 pm
Posts: 3744
Location: California, USA
For now, please try using collisionFilterGroup/collisionFilterMask, or override the virtual 'needsCollision' in your derived version of btCollisionDispatcher.
See http://continuousphysics.com/Bullet/php ... .php?t=712

I plan on adding a 'nearCollisionCallback', for better control.
Thanks for the feedback,
Erwin


sssa2000 wrote:
i think this flag is set the object whether or not be collision.
but i have no idea that how to set the flag.

for example,i have 3 object,i want object1 can not collision with object2,
but object1 can collision object3, how can i set the flag?

thanks!


Top
 Profile  
 
PostPosted: Mon Nov 27, 2006 2:54 am 
Offline

Joined: Thu Oct 26, 2006 8:36 am
Posts: 12
Erwin Coumans wrote:
I plan on adding a 'nearCollisionCallback', for better control.
Thanks for the feedback,
Erwin



that is really good , if the nearCollisionCallback is add to Bullet,
i am very look forward to that!
thanks!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group