Hello,
currently I’m trying to create a camera that orbits around an object the player can move. I created a Cinemachine FreeLook Camera that follows and looks at that FollowObject and implemented the user input. In order to move the object horizontally, seen from the player’s perspective, I let the programm calculate the Vector3 that points in the correct direction (using the FollowObject’s and FreeLook Camera’s position).
But this FollowObject is orbiting around my FreeLook Camera. It’s as if the FreeLook Camera isn’t following the FollowObject accurately.
How can I make the FollowObject make move horizontally, seen from the player’s perspective (which is the FreeLook Camera’s perspective)?
If somebody knows a solution to this or even a better approach, I’d be very happy to hear it.
Thank you!
