Working on a tank game. Trying to get realistic effects with traction and the treads.
http://www.mechascientific.com/Tank.html
I tried a lot of ways to move the tank. The first was to apply angular velocity to the wheels, but this didn't give much traction. Then I tried applying torque, worked well but I didn't realize applying torque was additive! I was building up some crazy torque. Finally I made it so as long as the left or right arrow button is pushed down, torque is added to each wheel, but if neither is down, torque is set to 0. Any other suggestions?
http://www.mechascientific.com/Tank.html
I tried a lot of ways to move the tank. The first was to apply angular velocity to the wheels, but this didn't give much traction. Then I tried applying torque, worked well but I didn't realize applying torque was additive! I was building up some crazy torque. Finally I made it so as long as the left or right arrow button is pushed down, torque is added to each wheel, but if neither is down, torque is set to 0. Any other suggestions?