Vehicle related questions

Travis
Posts: 5
Joined: Thu May 27, 2010 3:26 am

Vehicle related questions

Post by Travis »

hi,

i've got a few vehicle related questions:

1. i'm trying to implement a follow camera.
it works fine, except that if I have a vehicle that rolls a lot, the "target" camera position keeps on bobbing.
how can I fix this?
any pointers on how to implement a solid follow camera?

2. when the vehicle is upright, then the wheels seem to be in place.
but when the vehicle is either falling over, or couple of wheels are off the ground, then the wheels seem to be out of the vehicle.
any reason why?


thanks in advance
Flix
Posts: 456
Joined: Tue Dec 25, 2007 1:06 pm

Re: Vehicle related questions

Post by Flix »

Travis wrote:2. when the vehicle is upright, then the wheels seem to be in place.
but when the vehicle is either falling over, or couple of wheels are off the ground, then the wheels seem to be out of the vehicle.
any reason why?
That's what happened to me too...
I remember that in an implementation that I did some time ago, I got this problem and when I tried to fix it I had to face another problem (basically the wheels stayed behind the chassis too much while the vehicle was moving).
I didn't find out the cause and the solution, but in the Bullet vehicle demo this does not happen, and so I thought it was a problem related to my implementation... strange to know somebody else have this same problem.