Search found 2 matches

by Kedro
Sun Sep 12, 2021 12:04 pm
Forum: General Bullet Physics Support and Feedback
Topic: btRaycastVehicle's btWheelInfo rotation problem
Replies: 1
Views: 147

Re: btRaycastVehicle's btWheelInfo rotation problem

I found an issue and now it works, take a look here: https://youtu.be/s4ElFeGeAfM
The problem was that I was not setting vehicle coordinate system. Now when I do with vehicle->setCoordinateSystem(0,1,2); it works perfectly.
by Kedro
Sat Aug 28, 2021 11:46 am
Forum: General Bullet Physics Support and Feedback
Topic: btRaycastVehicle's btWheelInfo rotation problem
Replies: 1
Views: 147

btRaycastVehicle's btWheelInfo rotation problem

Hello, I use C++ Bullet Physics. I spawn btRaycastVehicle on the btTriangleMesh. I update the wheel model by using vehicle->getWheelTransformWS(i).getOpenGLMatrix(mat); matrix. As you can see in the clip below wheels steering turns OK, their positions in World Space are correct but rotations are com...