I'm trying to get if the 3d shoulder camera is facing the front of the player so I could stop the head from moving around.
I tried to do
Vector3 Direction = targetConstraint.position - sourceObject.position;
but that only worked if i was facing forward but if i turned around (180 Degrees) it does the opposite.
So I need a way to make it so I can detect whenever the camera in infront of the player.
I just replaced it with a dot product
you might have to change the source and target constraint objects for it to work dot products are weird