Security camera follows player's head

Helllloooo everybody! :smiley:
I’ve took a camera model on the web (Blendswap.com)
Picture :
Camera Model
The camera has 2 bones, picture: (awesome paint skill)
Camera bones
Soooooo, i want to move it around 2 axis to “watch” or “record” the player:
Camera axis
I made a gif for youuuuuu, to understand correctly my question:
Camera GIF
For Portal 2 player :
Like the cameras around the map… Portal 2 Camera
A was thinking about a look at script, only on 1 axis, for each bones, help! :stuck_out_tongue:

You found a feasible solution, what help do you need?

I would just say that you should perform the lookat on the root transform of the camera first and on the camera head second. change the y value in the first calls target to the y value of the camera root.

@hexagonius hey you should check out Sebastian video pretty much sums up what you need to do just switch the assets around. Unity Create a Game Series (E01. player controller) - YouTube
.