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

How to CFrame?

Asked by
Async_io 908 Moderation Voter
8 years ago
    handle.CFrame = CFrame.new(character.Head.Position)*CFrame.Angles(0, 90, 0)

Okay, it's suppose to get the head's position, and go to it's position, then turn 90 degrees. It's turning -180, 63.38, -180 degrees instead. And yes, can collide is turned off.

Is there anyway to make it only be 90 degrees? ;-;

1
Because CFrame Angles uses radians, not degrees. So you would want to have math.rad(90) M39a9am3R 3210 — 8y

1 answer

Log in to vote
0
Answered by
Async_io 908 Moderation Voter
8 years ago

Answered by M39a9am3R

Ad

Answer this question