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...
Gimpact for a character...
- projectileman
- Posts: 109
- Joined: Thu Dec 14, 2006 4:27 pm
- Location: Colombia
- Contact:
Re: Gimpact for a character...
Just use the btCompoundShape class. Is the legal way to implement composed collision bodies. May btGImpactCompoundShape is deprecated.
Re: Gimpact for a character...
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?
If yes, how?