Mesh pivot y at zero

Post Reply
lucky7456969
Posts: 26
Joined: Thu Sep 11, 2014 5:40 am

Mesh pivot y at zero

Post by lucky7456969 » Sat Aug 05, 2017 3:59 pm

When building a btBoxShape out of a mesh that has the pivot on the ground (y at zero), the mesh's bounding volume and half way undernearth the mesh to half way in the middle of the mesh itself, when resolving physics, it will fall thru all static objects.

How is it possible to build the box that embrace the whole object while the pivot is at y zero?
Thanks
Jack

Post Reply