Creating hollow cylinder

Naruto
Posts: 13
Joined: Sun Mar 13, 2011 2:11 am

Creating hollow cylinder

Post by Naruto »

Hi,

Does anybody know ,how to create a hollow cylinder in bullet 2.77?
ciphr
Posts: 15
Joined: Mon Mar 28, 2011 9:11 am

Re: Creating hollow cylinder

Post by ciphr »

As, it's non-convex shape, you should use kind of trimesh.
See manual, it has a nice shape-choose helper
Flix
Posts: 456
Joined: Tue Dec 25, 2007 1:06 pm

Re: Creating hollow cylinder

Post by Flix »

Naruto wrote:Does anybody know ,how to create a hollow cylinder in bullet 2.77?
You may find this snippet (and the whole series of related posts) useful: http://www.bulletphysics.org/Bullet/php ... wer#p21575
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Re: Creating hollow cylinder

Post by Erwin Coumans »

Even better is if you can approximate a hollow cylinder using boxes or convex parts, and combine them into a btCompoundShape.

Thanks,
Erwin
Naruto
Posts: 13
Joined: Sun Mar 13, 2011 2:11 am

Re: Creating hollow cylinder

Post by Naruto »

Hey thanx a lot