Player Camera is a component of the player character (first person). I’m using a line trace to interact with things like furniture and having the player sit in chairs etc.
However, it looks really awkward when the camera stays at values like -45(pitch) because the view was down to interact with an instance.
Quite simply, how do I reset the pitch back to zero?
I included a pic of my failed attempt. My logic was…
Get current pitch > multiply by -1(reverse sign) > use that value to offset current value
Example:
-45(current pitch) + 45(offset value) = 0(desired pitch)
Thanks in advance!