how do i make it so a part looks at the mouse but on only on one axis?
COMMUNITY QUESTION
how do i make it so a part looks at the mouse but on only on one axis?
1 answer
Ok easy.
All you need is Mouse.Hit.p
2 comments
0
But thats for all axis, i just want 1 axis for ROTATION not position.
0
For that, you do CFrame.Angles()
This discussion is preserved as it was. New answers, comments, and votes are closed.

5 comments
You want to set a part's orientation to the position of the mouse? Lol
Cframes, and only on ONE rotation axis
Too bad, the part is in a 3-Dimensional space, whereas your mouse 2D.
no help, u can do it tho, its possible
Think I know how to do this, but I need to get on my computer first to experiment. It might involve mouse.Hit, remote events, and CFrame. Don’t rely on me to answer though. :P