btBoxShape with different origin

Nickert
Posts: 25
Joined: Sat Dec 29, 2012 7:20 pm

btBoxShape with different origin

Post by Nickert »

Hey all!

I have a box that has it's origin in at the lower front left corner, how can I create a btBoxShape that will wrap this? Did I miss some function?

Thanks!
ConvexHull
Posts: 9
Joined: Sun Mar 10, 2013 5:03 pm

Re: btBoxShape with different origin

Post by ConvexHull »

btCompoundShape ? with offset? Not 100% sure though
laadams85
Posts: 18
Joined: Wed May 22, 2013 1:45 pm

Re: btBoxShape with different origin

Post by laadams85 »

I'm not entirely sure why you would want to do this. If you can describe the type of effect you are trying to achieve that would help in getting an answer. If it is a graphics issue that should be handled on the graphics side. If you are trying to get the center of mass changed that's a different question entirely.