I’m super new to using Cinemachine, but i’ve set it up with deadzones and it slightly moves the First Person Camera sideways and i’m trying to mitigate that. Something is held in hand, and in Player view, but the Camera shifts slighlty sideways when moving around.
It’s at 99% of the Behaviour that i want, which is follow the Handheld Object, but from a fixed POV, i mean you don’t sway your head left and right, when looking at an Object
It should follow the Object until the deadzone threshold and then move the Camera, only when it goes out of those Bounds.
Do i need a different Cinemachine Component?
I’ve tried different distances from the camera, but couldn’t get it to work.
The Cube kinda moves around the Camera, instead of straight to it?
How could i change it up, so that slight shifting movement goes away.
Heyyo ,
As a first troubleshooting step to make sure nothing is interfering with your camera transform can you put your VCam in the root of the project? What happens when you do that?
Hey!
Thanks for the advice, i’ve tried it with a completely new Project and the First Person Starter, and there it does work, without the shifting issue.
So the Problem is with my Player Character (and it’s Camera transform). It breaks in my Project, when i move the Camera outside of the Hierarchy, since i’m using Adventure Creator from the Assetstore.
Since it relies on the Hierarchy, i’d have to figure out to take the Camera outside of it, or make it work somehow
Would it be possible to make it work with my Player Controller, or does it have to be outside of the Hierarchy?
I don’t quite understand why it moves around something, i’m using a Character Controller for movement.
Unfortunately it didn’t change for me, i’ve tried both the parent Objects.
Something had to change with Assets Camera, got it working! Thank you again for your Time and help and have a good weekend!
//It had to do with the Parenting of the Camera to the right place, it seems like it moved it’s place slightly in-game, so i had to reset it to it’s original position with AC.