lazd / DuneBuggy

A 3D multiplayer dune buggy battle game written entirely in JavaScript
Other
10 stars 5 forks source link

Pressing down or D does not apply the brakes, only engine force #22

Open lazd opened 11 years ago

lazd commented 11 years ago

This makes it so the user must explicitly hit the brakes in order to slow the buggy before driving backwards.

This could be solved by apply the brakes if the buggy has forward of backward rolling velocity, then applying acceleration once the buggy's rolling velocity reaches zero.