webaverse / app

Web metaverse client
https://app.webaverse.com
MIT License
344 stars 207 forks source link

Camera Controls #2161

Open ahmad-zfr opened 2 years ago

ahmad-zfr commented 2 years ago

Right now we use the mouse scrolling to zoom in and out. There is no bound to how much the user can zoom out which is awesome. But there should be a key binding to recenter the camera to a default angle.

This button can also house different other camera angles like many of modern games do. e.g. GTA V's 'V' Key toggles to a First Person, a zoomed out angle, a very zoomed angle and a cinematic-randomly-changing mode and even a MOBA like angle

avaer commented 2 years ago

Yeah, I like V. We can basically just do that.

avaer commented 2 years ago

I think we can literally do the GTA model (did they invent that back in 3?).

The hard part (probably a few hours of thinking) is the cinematic camera, because that requires having the interesting camera source points and/or computing them, but the rest should be easy to implement. It would be epic to have that though, it would take studio mode to the next level: https://github.com/webaverse/app/issues/2026