Help with positions(Cframe)

I want to know whats the different between Cframe and Positions And Vector3 what are the main differences? and what each one can be used for?

2 Likes

A Vector3 is a 3 dimensional vector with x, y, and z components. Roblox also has Vector2, used primarly with GUI stuff. This playlist is my goto resource for game dev related linear algebra. Jorge does a great job thoroughly explaining concepts before showing a code example.

CFrame’s are a matrix of 4 Vector3 values. CFrame denotes both orientation and position. You have to understand Vectors before you can understand CFrame, so after you’ve watched a few of those vector videos, check out this devforum post for an in depth explanation of CFrames

thanks about those posts and vids it helped me alot

2 Likes