Closed bnolan closed 4 years ago
Probably want to add this to the existing desktop controls (src/controls/desktop/...). Either have a key combination to switch between first person and third person, or use the scroll wheel to zoom in to first person, then zoom out (and control follow distance) using scroll wheel.
May have to raycast behind the avatar to make sure the camera is not inside a wall? I haven't done this before so not sure what the best practises are.
Be great for making videos, and for looking at your avatar. You can probably load the avatar using src/avatar.ts
, and then you'll need to trigger the animations while walking around, currently these are only done for other people avatars, but code should be amenable to animating for yourself.
Done!
From nolt