Hello,
I have decided to use cinemachine in my project to setup more easly my third person character.
I want to transform my player to a prefab
So, actually my scene is looking like this
As you can see, I have separated my Player and my cinemachine virtual camera controller (named “3rdPersonCinemachine”). Actually is working well but I want to make the camera a child of “Player” to use it as the multiplayer prefab in my networking system (mirror networking)
So, I put it in “Player” by drag & drop, but when I do that, my camera is rotating infinitly like a crazy cow
I found the origin of the problem, it coms from my player controller script (attached to Player component) where I rotate Player’s body towards camera direction
And I definitly dont understand why it’s not working correctly when virtual camera “3rdPersonCinemachine” is a child of “Player” component
If anyone cal help me, thanks a lot