Hello, I have some decent experience in coding but I keep stumbling upon whether to use CFrame and Vector3. Most of the time, I know which to use but I never properly understood what the two really are and how they're different. Is CFrame responsible for orientation and location? Is Vector3 responsible for just position? If someone could clarify this it would be great. Thank you! -cooldeath49
A CFrame is a specific point in the Workspace, that will not change throughout the game, whereas a Vector is a position relative to where the object already is. EG. Imagine that vectors and CFrames only had two arguments, X and Y, and your at position (1,1).If you move by a vector (2,2), you would end up at (3,3), whereas if you were to use a CFrame, it's like jumping straight to a specific place, EG. Your at (1,1) and you move by CFrame (4,4), you would end up at (4,4).