Hi, I want that my camera follows a custom path but also follows my player’s X position. So if my player goes right, the camera will follow the path that is at the same position as the player, and if he goes left, the camera will go left while following the path. I don’t know if you understand me, I will try to find a game that does what I want.
Have both camera’s defined. If player turns right raise the priority of the follow camera, if he turns left raise the priority of the dolly tracked or path camera
Thanks for the reply. My problem is I don’t know how to make the dolly track camera go forward or backward when the player moves.
To understand a bit better what I want, it is like the custom auto-scrolling feature in Mario Maker 2. The camera moves along the path that the level creator defined. In my game, I want the exact same thing but without auto-scroling. I want that the camera wait for the player to go forward or backward.
Demo :
I found the solution. I just activated Auto Dolly on the CinemachineVirtualCamera component.
Also, I don’t know if I must open a new thread, but I would like to set up some waypoints where the camera zoom in or
out on the player.
Use an IsTrigger collider. OnTriggerEnter, zoom in OnTriggerExit, zoom out
Thanks, I will try this