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.
m = player:getmouse() function click(clicked) script.Parent.Head.Orientation = m.hit.Position
obviously pseudo but heres the basic idea.
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.
Umh, no! Orientation is degrees from
180, but position is entirely other thing, studs from
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.
The thing is that’s for r15 and I wanted it just to be the head rotating for r6