Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

a cframe math question?

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?

2 comments

0

Nope, it would set it to 0

0

In cframes think of * as more like addition

1 answer

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.

This discussion is preserved as it was. New answers, comments, and votes are closed.