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

Difference between the two?

Asked by 8 years ago

Ok so in certain situations I will see in scripts that both Vector3.new and Cframe are used in order to move and rotate? Is it true that Vector moves the object and Cframe rotates the object? I am confused to how wiki describes it. Help?

1 answer

Log in to vote
0
Answered by
deris88 146
8 years ago

No. CFrame and Vector3 aren't that different. However, Vectro3 is used more to operate Position while CFrame spin and 'teleport' stuff. (Well just put a brick from 3,3,3 position to 5,5,5 etc.)

CFrame = coordinates frame. Vector3 = well a force/quantity that have direction.

Vector3 can't spin things (at least I never seen that) , but CFrame is much more than spinning stuff.

Ad

Answer this question