Sharing btCollisionShape

Please don't post Bullet support questions here, use the above forums instead.
Vince
Posts: 11
Joined: Fri Oct 01, 2010 11:40 am

Sharing btCollisionShape

Post by Vince »

Hello,

I want to share a same btCollisionShape among different btRigidBody objects, is it possible to pass the same btCollisionShape pointer to different rigid bodies ?
When a rigid body is deleted does it means the btCollisionShape is removed as well.
I am wondering when the btCollisionShape pointer is deleted. any idea ?

Thanks
Vince
jxj812
Posts: 11
Joined: Sun Aug 16, 2009 10:54 am

Re: Sharing btCollisionShape

Post by jxj812 »

bullet original do as this way , a shape can create many rigidbodys!
I have developed a game use bullet the Items is create as this way,
world's first wheel-jump offroad 3D game:bomb4x4, welcome to download to try!
yahooIM:uvwuvw93@yahoo.com