Tmktahu / atlas

Repo for Atlas, an interactive 3D map for the game Starbase.
GNU General Public License v3.0
10 stars 1 forks source link

Fine Tune Panning Speed #27

Open Tmktahu opened 2 years ago

Tmktahu commented 2 years ago

I've gotten some feedback that the max panning speed should be higher to allow for faster panning at very far distances.

Temporarily we can ramp up the max panning distance to ~5000, but otherwise I would really like to come up with an intuitive panning speed calculation.

One possibility is to make an algorithm that calculates the distance from the user to every point, and then uses the distance from the closest point to scale the panning speed. I might even be able to make an "automatic panning speed" option so that panning speed slows down as a user approaches a point and then ramps up as they go away from it?

Tmktahu commented 2 years ago

28 and #29 increase the max panning speed from 3000 to 5000.