Hello !
I have an issue when I’m changing the follow target at runtime, it switches correctly but quite often the destination is off an not centered on the target.
Here is my complete setup, maybe I did something wrong.
At first I was on Cinemachine 2.9.7 then I switch to 3.0.1 but the issue persisted.
My configuration is quite simple, the target is empty because it’s added when the player spawn (start Host - multiplayer setup)
- The view is top down Diablo like
- My game map is shaped like a T where the player spawn at the bottom of the T.
- When going up the T, I have a script which increase the “Follow Offset”, to just see further and further. It’s based on the z position of the character.
- Everything works perfectly but at the top of the T, if I switch the follow target to show another player (when the main player dies for example, as a spectator camera). The camera switch automatically on the other player but half the time, the camera is completely offset. It follows but sometime we cannot even see the follow target.
- Then even if I reset the main player back to the base of the T and switch back the follow to him, sometime it’s also offseted by quite a lot rendering it impossible to use.
I hope my explanation where clear enough
,
Thank you in advance for some help ![]()
I also tried a multi camera setup but that was not that great to use with player spawning and despawning of the network. I also tried the Target Group but same result. In my mind just changing the Tracking / Follow target should do the trick, I must have missed something ?
