seanhouli
seanhouli
I would love this as well!
I needed this functionality as well, I took your demo and got it working: https://codesandbox.io/p/github/vinkovsky/switching-cameras-demo/csb-jzt6zp/draft/gallant-cannon?file=%2Fapp%2Fcamera-view.tsx. I commented out the automatic switching and just bound to 't' to toggle between to...
> @seanhouli Hello! Thanks for your reply. Unfortunately couldn't open your solution :(  Can you try again? I have not used codesandbox a ton, but under sharing it does...
All I can do is share the link, which I have done 🤷
@vinkovsky Here are the contents of the camera-view.tsx file if you still cannot use the link. ```ts import { useEffect, useMemo } from "react"; import { useFrame, useThree } from...
@vinkovsky it seems that reverting back to your original version that uses `.position` is actually working better for me, no idea why. Here are the changes I have made ```ts...