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

a cframe math question?

Asked by 6 years ago

CFrame.new(p1.pos, p2.pos) * cframe.angles(0,1,0)

Does this mean that the angles z and x will = 0 and y will remain the same?

0
Nope, it would set it to 0 User#20388 0 — 6y
0
In cframes think of * as more like addition cabbler 1942 — 6y

1 answer

Log in to vote
0
Answered by 6 years ago
Edited 6 years ago
CFrame.new(p1.pos, p2.pos) * CFrame.Angles(0,1,0)

It would increase your CFrame's Y rotational value by 1 radian (around 57.3 degrees), your X and Z rotation values won't change at all.

Ad

Answer this question