I'm currently working on a driving game as part of a uni project and have ran into a small problem.
Currently using the PhyreEngine for the PSP and having problems figuring out the correct combination of axel,wheel and coordinate system. I believe the PSP system is right handed coordinate.
Currently while using the Bullet demo the car moves sideways. Any ideas of a possible fix for this?
Thanks in advance.
Vehicle Demo Troubles
-
- Posts: 18
- Joined: Tue Feb 22, 2011 4:14 am
Re: Vehicle Demo Troubles
Playing around with these three lines fixed my sideways car:
-P
Code: Select all
//choose coordinate system
m_vehicle->setCoordinateSystem(0,2,1);
btVector3 wheelDirectionCS0(0,0,-1);
btVector3 wheelAxleCS(1,0,0);