I ask this question because currently my script has a part that points at you and what im trying to do is to avoid using Cframe and instead opt for the Hingeconstraints target angle for aiming. How do i calculate the angle needed to look at something? Horizontally.
COMMUNITY QUESTION
Can i get the horizontal Cframe rotation - new cframe rotation to obtain an Angle value?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
Sorry, but I didn't understand anything
I have a turret that so far can only rotate left to right using cframe. Now i dont want it to use cframe to turn like that but it seems CFrame is the only way to get something to look at it. Now i want to use CFrame to obtain a targetAngle for my hinge constraint