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

This is a Roblox CFrame Term or something, I can't understand this term?

Asked by 5 years ago

My brain, its almost explode, tried to search google but no good result. I'm learning about CFrames and I see this word: Offsetting a CFrame WHAT DOES EXACTLY OFFSET MEANING? I can't understand? ;-;

1 answer

Log in to vote
0
Answered by
Lugical 425 Moderation Voter
5 years ago
Edited 5 years ago

Offsetting a CFrame simply means to change its position from its current position. For example, to offset a part’s CFrame of CFrame.new(0,0,0) by 1 on each axis, you do:

workspace.Part.CFrame = workspace.Part.CFrame + Vector3.new(1,1,1)

There, we offset the CFrame (change the part’s CFrame) by 1 stud on each axis.

https://developer.roblox.com/en-us/articles/Understanding-CFrame#offsetting-a-cframe If you go to this link and to the offsetting CFrames section, it can help elaborate a bit more.

Ad

Answer this question