FPS head getting in the cameras way

Hello!

I’m working on a fps controller with body. I animated the body and everythings is working as inteded expect for the fps bodys head getting in the way. I tried pareting camera into the head bone which makes me dizzy but surely fixes the problem. I just wanted some advices on how can I handle this situation.

I was thinking about maybe getting head bones transform and sticking the camera with code? What do you guys think?

Thanks!

Okay, I actualty solved it even without 1 line code.

I put an empty game object inside my headbone. After that, I put “position constraint” component in my camera and selected that empty gameobject. Which you can freeze so it doesnt move and rotate with the animation.

1 Like

Thanks for sharing your solution! This worked perfectly for my case as well.