Bullet errors

Moustique
Posts: 6
Joined: Tue Aug 03, 2010 4:15 pm

Bullet errors

Post by Moustique »

Hello all,
When I tried to compile one OgreBullet demo, I met some errors like:
error C2440: 'static_cast' : cannot convert from 'btTypedConstraint *' to 'btRaycastVehicle *'

The error happens in the code:

btRaycastVehicle *getBulletVehicle()
{
return static_cast <btRaycastVehicle*> (mConstraint);
};

Thank you for your kind reply.

---
zwang
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Re: Bullet errors

Post by Erwin Coumans »

This code seems not part of Bullet, but part of the OgreBullet plugin.

Can you please use the Ogre Addon forums for this?
Thanks,
Erwin
Moustique
Posts: 6
Joined: Tue Aug 03, 2010 4:15 pm

Re: Bullet errors

Post by Moustique »

Hello,
OK, I have done that as what you have suggested.

Cheers

---
zwang