Movement problem

weenie
Posts: 2
Joined: Tue Mar 25, 2008 9:23 am

Movement problem

Post by weenie »

I'm designing a tank physics model using Bullet, and have come across a problem. When I try rotating my tank(left wheel pushes forward and right wheel pushes back) it rotates at different speeds in regard to its orientation. I'm using the Veichle demo(my source is attached). Does anyone have an idea of why this happens?
You do not have the required permissions to view the files attached to this post.
helicase
Posts: 5
Joined: Tue Feb 26, 2008 3:53 am

Re: Movement problem

Post by helicase »

I'm having exactly the same problem. It'll rotate either to the left or to the right and slow down as it approaches 90 degrees to its starting orientation. Totally stumped.
weenie
Posts: 2
Joined: Tue Mar 25, 2008 9:23 am

Re: Movement problem

Post by weenie »

Oh, and another problem I came across is that if there are more than one wheels on a side of the veichle to wich I apply a breaking force(with the setBrake function), the veichle stops, but starts shaking. Is there any way to avoid this?