Page 1 of 1

How to create original shape, semisphere

Posted: Tue Feb 19, 2013 8:40 am
by yamadagenki
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.

Re: How to create original shape, semisphere

Posted: Tue Feb 19, 2013 1:47 pm
by seeplusplus
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. :(

Re: How to create original shape, semisphere

Posted: Tue Feb 19, 2013 3:35 pm
by yamadagenki
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!