3DStreet / 3dstreet

🚲🚢🚌 Web-based 3D visualization of streets using A-Frame
https://3dstreet.app
Other
266 stars 33 forks source link

ability to specify slower speed transition #852

Open kfarr opened 2 months ago

kfarr commented 2 months ago

as a user making a presentation or video from my 3dstreet scene, i'd like to slow down the transition speed for the double-click-to-center feature

workaround: in EditorControls.js manually edit line 96 scope.transitionSpeed = 0.00025;

(note that changing line 111 does not have any effect since it is presumably set in 96)

ui considerations - where to put this? some ideas:

vincentfretin commented 2 months ago

Oh, that's a leftover during my tests. The line 96 should be removed really, and keep only line 111.

vincentfretin commented 2 months ago

I'll keep that need in mind when rewriting that code to a real component on a real entity for the Viewer layer in #851 probably use the following schema {name: 'speed', oneOf: ['immediate', 'fast', 'slow'], default: 'fast' }