OgreBullet not compatible with Bullet 2.65 or 2.66

Chaster

19-12-2007 06:47:42

Hi Everyone,

Yesterday (or maybe it was the day before) Erwin released a new version of Bullet(2.65/2.66) which changes the way btRigidBodies are constructed. OgreBullet does not work with this change, but the fix should be simple to make.

I just wanted to post a "heads up" to everyone before any complaints started rolling in. I'll try to get to it but I'm totally swamped right now...

Chaster

3p

19-12-2007 09:39:18

How does this incompatibility manifest?

I'm using OgreBullet with 2.65 and 2.66, have noticed some minor problems, but I think (or thought) they're bullet related.

Chaster

19-12-2007 16:54:55

The only problem I found was that btRigidBody::btRigidBody constructor now uses a "btRigidBodyConstructionInfo" struct which previously, it did not. It's easy to fix, just wish I wasn't in the middle of a million projects..

Chaster

3p

19-12-2007 17:30:26

I don't think it's a problem, since there is backward compatibilty constructor available in bullet:

///btRigidBody constructor for backwards compatibility.
///To specify friction (etc) during rigid body construction, please use the other constructor (using btRigidBodyConstructionInfo)
btRigidBody( btScalar mass, btMotionState* motionState, btCollisionShape* collisionShape, const btVector3& localInertia=btVector3(0,0,0));

Chaster

21-12-2007 08:38:00

Hm. That's odd - my code would not compile without changing to the new constructor... Weird.. .Well, no worries I suppose...