Hello
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.
thank you!
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.
1 Like
thank you…
I think this example does it:
https://playcanvas.com/project/608443/overview/testfocus2/
shame the ui is html
1 Like
The UI doesn’t matter for the actual logic. It’s the same code with PlayCanvas UI in terms of the camera logic.