Moving camera to a target

Hello all,

I`m working right now on implementation of camera movement to some target.

One of solutions found in this topic, Best js for camera movement on button click,

And my question is: How ‘path root’ should look, what should be in scene for path root parameter to make came move!?

My project is here: https://playcanvas.com/editor/scene/918233

Thanks for attention.

Hi @Ivan_Stratiichuk! I suggest to look at the tutorial project below. As far as I know the path root is just an entity with child entities that represent the path for the camera.

https://developer.playcanvas.com/en/tutorials/camera-following-a-path/

1 Like