Head/Cursor Movement

So I have been working on a game and thought it would be cool to make your head follow your cursor. I’ve made it so it follows your camera for now but I was wondering how I can get it so the head follows the cursor.

2 Likes

simple

m = player:getmouse()
function click(clicked)
script.Parent.Head.Orientation = m.hit.Position

obviously pseudo but heres the basic idea.

1 Like

Before creating a topic please do some research, it will prevent duplication.
And It will save you both time and effort.

The post above should give you the solution.

1 Like

Umh, no! Orientation is degrees from -180 to 180, but position is entirely other thing, studs from -inf to inf. So, if we want to rotate head for 45 degrees by X, you say Vector3.new(45,0,0). But if you point mouse to any place, it would be mess - Vector3.new(-156,10,344). Thats not rotation at all.

2 Likes

The thing is that’s for r15 and I wanted it just to be the head rotating for r6

1 Like