Physics Simulation Forum

 

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Thu May 24, 2012 5:22 pm 
Offline

Joined: Thu Apr 12, 2012 11:54 pm
Posts: 3
If I wanted to make something like a fish bowl, a spherical container, could I use the spherical collision object to keep objects inside the bowl?

I haven't seen anything to support this in the documentation, but it seems to me that the algorithms should be fairly similar to those used for "external" collision, or am I missing something?


Top
 Profile  
 
PostPosted: Tue May 29, 2012 1:58 pm 
Offline

Joined: Sun Jan 29, 2012 10:01 pm
Posts: 49
The inside would be concave and can't use convex to convex collision algorithms. It would be easier to just have a btBvhTriangleMeshShape and keep it static.


Top
 Profile  
 
PostPosted: Tue May 29, 2012 4:33 pm 
Offline

Joined: Thu Mar 01, 2012 10:07 pm
Posts: 7
If CD is possible between any two given shapes, inverting one of them (swapping 'inside' for 'outside') would just mean that colliding circumstances before become non-colliding and vice versa. Sensible contact generation would probably be a little more involved, though.


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 1 guest


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