I dont really know what CFrame is. I know how to script and all. But I never got to learn CFrame. Any links to CFrame and stuff?
✓ ANSWER ACCEPTED
Where Can I Learn CFrame?
3 answers
✓ Accepted answer
Check out the Wiki.
-Thank me by accepting this answer/bumping up my reputation!
coordinate frame
I will teach it to you! CFrame is fun once you know it! Multiplying CFrames like this:
part.CFrame = part.CFrame * CFrame.new(0.2, 0, 0) -- Moves part 0.2 studs forwards
moves it around. change it like this:
part.CFrame = part.CFrame * CFrame.new(-0.2, 0, 0) -- Moves part 0.2 studs backwards
and it goes backwards.
part.CFrame = part.CFrame * CFrame.new(0, 0.2, 0) -- Moves part 0.2 studs up
up...
part.CFrame = part.CFrame * CFrame.new(0, -0.2, 0) -- Moves part 0.2 studs down
down! It works like position but has rotation too! You can set lookvector like this:
part.CFrame = CFrame.new(part.Position, part.Position + lookVector) -- Try using the method of getting lookVector by using part.CFrame.lookVector. You can do this for any CFrame. You can get the lookVector of another part and replace lookVector with it and the part will look the same way! You can even set the cframe of a part to CFrame.new(posV3, secondPosV3) and the posV3 is the position but the part looks at secondPosV3!
Cool huh? It's really useful too!
2 comments
0
nice
0
you Can use While Wait() Do ---------CFrame end
This discussion is preserved as it was. New answers, comments, and votes are closed.

3 comments
Why would someone rate me down on this?
Thanks! I would bump up your reputation, but SOMEONE got my rank down to -5 because I answered someones question.
Just accept this answer and it'll bump both of ours up!