Hey thanks for your reply sadly this didnât work. And i think that by enabling this i will force the player not to be able to aim with the camera since it will force him in that direction
Yes, you should not enable it for the game. I just wanted to check if it rotates to the correct position. If it is not rotating the vcam to the correct position, then your playerâs forward is not defined properly.
Otherwise, if you want a third person vcam that depends on the follow targetâs orientation and not on input, then Iâd suggest you to look at the AimingRig example. This example uses the 3rdPersonFollow component.
You need Cinemachine 2.6 or newer to see this example in our samples. You can get the samples from the Package Manager.
You may also look at this tutorial video explaining how to get and add extra features to our sample scene:
Thank you for your response. But the github project that they say are in the description doesnât point to the code they show in the video do you have the correct link by any chance?
Ive tried that example but if you look at it the aim doesnât actually follow the target. The video sent me seems to be the âcorrectâ way of doing things so i am really really interested in the code
If you set to âLock to target with world upâ it, then it will lock behind. Or have a look at the ThirdPersonFollow component and examples mentioned above.