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

Isnt saying " Handle.CFrame:Inverse() " the same thing as " -Handle.CFrame " ?

Isnt using the negative sign in front of the CFrame the same as saying CFrame:Inverse() ?

1 comment

0

no, considering the former would throw an error (among other reasons)

1 answer

No, while it may seem like that, that is not how inversing a CFrame works. The "inverse" of something is an operation that will undo the other.

Example being 2 + -2 = 0. -2 is the inverse of 2 for addition. -2 + 2 = 0

The "inverse" of a CFrame is the corresponding CFrame that when composed with the other, will result in an identity CFrame (a.k.a - CFrame.new())

cframe * cframe:inverse() will yield CFrame.new().

1 comment

0

hmmm

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