ecctrl icon indicating copy to clipboard operation
ecctrl copied to clipboard

Keep camera in primary scene

Open joaomelorodrigues opened this issue 1 year ago • 2 comments

I suggest having a way to keep the camera in the primary scene. As discussed here: https://discord.com/channels/740090768164651008/1162488856088690879/1239947711696863316

There is a issue where Ecctrl takes out the camera, therefore we cannot use const { camera } = useThree(); camera.position and trust the position is the same as it's moving with Ecctrl. This also breaks the whole workflow on pmndrs/uikit as it depends on using the camera in the scene.

joaomelorodrigues avatar May 14 '24 16:05 joaomelorodrigues

We need the pivot and followCam to keep the camera functioning correctly. Maybe I can try adding the pivot to the scene to see if it works with UIKit. 🤔

ErdongChen-Andrew avatar May 15 '24 22:05 ErdongChen-Andrew

Looking forward for this, this would be awesome to work with uikit!

joaomelorodrigues avatar May 17 '24 10:05 joaomelorodrigues