Closed valentincognito closed 5 months ago
Thank you, @valentincognito ! That's a really good point! Actually, I'm already working on this feature and it will be released in the next update!
Awesome news! I'm closing this issue then. Thanks for your work :)
@valentincognito , you can now disable the followCam in v1.0.62: <Ecctrl disableFollowCam>
Ecctrl is taking the default camera using
const { scene, camera } = useThree();
This means if we add another camera and mark it as the default camera Ecctrl will immediately take control of the camera. But there are a use case where you want to cut to a different camera (let's say a flying map overview) and go back to the player's camera. So basically you want your new camera not to be controlled by ecctrl.Therefore I would like to introduce a prop like
camFollow: boolean
then inEcctrl.tsx
line 989 we could do something like this:and in
useFollowCam.tsx
we skip the mouse / touch events:That would help us cutting to different camera view when needed.
If you think it's a good idea I can create a pull request!