I have a question on how this part is used
part.CFrame = part.CFrame * CFrame.new(0, 0, -5)
What is the *, +, used for? And why are they used? How do they do something different?
I have a question on how this part is used
part.CFrame = part.CFrame * CFrame.new(0, 0, -5)
What is the *, +, used for? And why are they used? How do they do something different?
Multiplying a CFrame by another CFrame will translate it in object space, relative to the first cframe. Adding a Vector3 to a CFrame will translate it in world space, i.e. adding Vector3.new(0, 1, 0) to a CFrame will move it’s position up by 1, regardless of the CFrame’s rotation.
I see, much thanks!!! 30 chars 30 chars