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

Just a question about CFrame...?

Asked by 10 years ago

What does..

brick.CFrame:inverse()

do?

1 answer

Log in to vote
1
Answered by
BlueTaslem 18071 Moderation Voter Administrator Community Moderator Super Administrator
10 years ago

CFrames are matrices and matrices have inverses.

In the context of a ROBLOX CFrame...

cframe * cframe:inverse() == CFrame.new()

It comes out being useful for some operations with CFrames, although I don't have any good way to explain that.


If you aren't comfortable with using inverse for anything (like me) you can accomplish pretty much everything you would need with toObjectSpace and toWorldSpace.

Ad

Answer this question