How do i make the character point only the x axis to something?

i want a character to look at something but only the x axis is pointed to the position

so like this:


not this:

I did a small write up a while back explaining how to do this in this post:

1 Like

This can also be done using a bodygyro with maxtorque set to (0,500000,0). This forces the bodygyro to only rotate on the Y axis.