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

Determine look vector 90 degrees to the side of an object?

Asked by
ItsMeKlc 235 Moderation Voter
9 years ago

How would you determine look vector 90 degrees to the side of an object?

1 answer

Log in to vote
0
Answered by 9 years ago

If you rotate the CFrame 90 degrees to the side before taking the lookVector the lookVector will then be pointing in that direction: (cframe * CFrame.Angles(math.pi/2,0,0)).lookVector

Ad

Answer this question