Physics Simulation Forum

 

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Tue Feb 19, 2013 8:40 am 
Offline

Joined: Tue Jan 03, 2012 11:57 am
Posts: 4
I have no idea about how to create hemisphere shaped rigid bodies.

In addition, I want to create shape like roombots. ( http://biorob.epfl.ch/roombots )
How can I create the shape like that (cutdown parts of hemisphere)?

Because I only have dealt with boxshape before and I can't find useful document about creating original shaped rigid body,
please tell me useful document about it if there were.


Top
 Profile  
 
PostPosted: Tue Feb 19, 2013 1:47 pm 
Offline

Joined: Tue Feb 19, 2013 12:12 am
Posts: 3
You probably need to approximate the half-sphere with a mesh or points on the sphere, and then use a btShape like btGImpactMeshShape (if you have triangles) or btConvexHullShape (if points; or a shape that derives from btConvexShape).

Hope this helps. Sorry, I'm pretty new to bullet myself. :(


Top
 Profile  
 
PostPosted: Tue Feb 19, 2013 3:35 pm 
Offline

Joined: Tue Jan 03, 2012 11:57 am
Posts: 4
seeplusplus wrote:
You probably need to approximate the half-sphere with a mesh or points on the sphere, and then use a btShape like btGImpactMeshShape (if you have triangles) or btConvexHullShape (if points; or a shape that derives from btConvexShape).

Hope this helps. Sorry, I'm pretty new to bullet myself. :(



Thank you anyway!
I'll try it!


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: Baidu [Spider], Google [Bot] and 11 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