Gimpact for a character...

Post Reply
Killcam
Posts: 11
Joined: Tue Nov 09, 2010 7:03 pm

Gimpact for a character...

Post by Killcam »

I am using the kinematic of the character in my program, but I would like to get it to have as collision object more than a single sphere, a box, or a vapsule but more of these together. From the results of my search btGImpactCompoundShape seems to be suitable for that.

My problem is that btPairCachingGhostObject can only set collision shape.

Any ideas how to convert btGImpactCompoundShape to btCollisionShape, or any other way for the same result?


P.S. Sorry for double topic, but I cannot edit the title...
User avatar
projectileman
Posts: 109
Joined: Thu Dec 14, 2006 4:27 pm
Location: Colombia
Contact:

Re: Gimpact for a character...

Post by projectileman »

Just use the btCompoundShape class. Is the legal way to implement composed collision bodies. May btGImpactCompoundShape is deprecated.
Killcam
Posts: 11
Joined: Tue Nov 09, 2010 7:03 pm

Re: Gimpact for a character...

Post by Killcam »

Thanks, I have converted my current code to use btCompoundShape class, but can this be used as a non-static collision shape?

If yes, how?
Post Reply