QtPyHammer-devs / QtPyHammer

python alternative to Valve's "Hammer World Editor"
GNU General Public License v3.0
35 stars 2 forks source link

Camera jitters #14

Closed snake-biscuits closed 4 years ago

snake-biscuits commented 4 years ago

It's not interpolated, it can still be updated every 60/th of a second. Just need to update utilities.camera to interpolate between it's last state and the latest state (update) so refactor camera.set to take a value to interpolate by calculated from viewport.timer.remainingTime()