Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

Can i get the horizontal Cframe rotation - new cframe rotation to obtain an Angle value?

Asked by
MSDLF -17
5 years ago

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.

0
Sorry, but I didn't understand anything SirDerpyHerp 262 — 5y
0
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 MSDLF -17 — 5y

Answer this question