rypordev / SinglePlayer_Tank_Demo

Single Player proof of concept for a physics based tank party game
0 stars 0 forks source link

Movement inconsistent on slopes #10

Closed ghost closed 1 year ago

ghost commented 1 year ago

Change tank movement to be influenced by the weight of the tank on the surface it is climbing. Basically, movement force on the tank should be affected by the normal of whatever surface it is touching.

Maybe it should be the average of all colliders touching the treads?

ghost commented 1 year ago

Resolved by using the angle of the tank momentum with flat ground. The large the upward angle incline the tank tries to race up, the more gravity affects the tread speeds.