Id like to use the orbit camera script. I’d also like to tween the camera to different locations. The problem arises once the cam has tweened it moves the camera to a different location. It seems to be the orbit cam script that’s conflicted with it.
There’s a ‘reset’ like function in the orbit camera script that allows you to set the look at and current position of the camera.
Call that function with the appropriate positions at the end of the tween and that should help.
I think this example does it:
shame the ui is html
The UI doesn’t matter for the actual logic. It’s the same code with PlayCanvas UI in terms of the camera logic.