_Tux_ wrote:great work sascha. except ive noticed a side effect to using such high frictions. if you are going down hill and put the brakes on, the tank rolls onto the turret.
No, that's not really a side-effect of the high friction. The problem is that the center of mass for the chassis is "wrong". The chassis is a compound and as of now I just use the AABB of the whole compound to calculate the inertia for the chassis. And due to the fact that this tank has such a long gun, the gun "drags" the center of mass to the very front of the tank, which makes it easy to turn it over depending in which direction you move. When e.g. setting a very high acceleration and then driving backwards, the tank would go up in the air driving only on the front part of the wheels. But I'll change the center of mass so that it's really in where it belongs to and those things shouldn't happen anymore.
Stucuk wrote:When turning wouldn't it be best to have to have the forward or backward key down, so the tank would know to turn one track eather backwards or forwards when turning right or left, rather then backwards all the time?
Thanks, that's a great idea! Dunno why I haven't come to that conclusion. I'll definately implement this.