lazd / DuneBuggy

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

Aiming is jerky when using "follow turret" camera mode full screen #24

Open lazd opened 11 years ago

lazd commented 11 years ago

When the camera is in "follow turret" mode and the buggy is turning, moving the mouse causes jerky camera movement.

The call to offset the turret's rotation based on the buggy's rotation may be happening after the mouse controls are evaluated (or visa-versa) which causes the rotation to be off by a tick.