How to create original shape, semisphere

Post Reply
yamadagenki
Posts: 4
Joined: Tue Jan 03, 2012 11:57 am

How to create original shape, semisphere

Post 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.
seeplusplus
Posts: 3
Joined: Tue Feb 19, 2013 12:12 am

Re: How to create original shape, semisphere

Post 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. :(
yamadagenki
Posts: 4
Joined: Tue Jan 03, 2012 11:57 am

Re: How to create original shape, semisphere

Post 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!
Post Reply