shane
13-05-2009 22:10:10
I have used bullet 2.74, 2.63, and the SVN like the readme.txt says to do, but I keep getting a static_cast error everytime that says the following (MSVC):
Error 2 error C2440: 'static_cast' : cannot convert from 'btTypedConstraint *' to 'btRaycastVehicle *' ...\OgreBulletDynamicsRaycastVehicle.h 97
This is the offending line of code in the RaycastVehicle class:
{return static_cast<btRaycastVehicle *> (mConstraint);};
Sorry if I missed something on the forum, but what do I need to do here?
Thanks.
Error 2 error C2440: 'static_cast' : cannot convert from 'btTypedConstraint *' to 'btRaycastVehicle *' ...\OgreBulletDynamicsRaycastVehicle.h 97
This is the offending line of code in the RaycastVehicle class:
{return static_cast<btRaycastVehicle *> (mConstraint);};
Sorry if I missed something on the forum, but what do I need to do here?
Thanks.