Are there any OBB-alike classes for OgreBullet

lucky7456969

23-06-2014 07:12:00

I want to use the bounding box for collision avoidance and detection.
Any ideas if OgreBullet has an OBB class?
Thanks
Jack

AlexeyKnyshev

28-06-2014 11:58:50

There is API in OgreBullet's collision object such:

virtual const Ogre::AxisAlignedBox &getBoundingBox(void) const;
virtual Ogre::Real getBoundingRadius(void) const;

U can get AABB and transform it based on RigidBody transform

Best regards, Alexey Knyshev