Hi there,
I am trying to get these parts on a certain point, but failing. I have a for loop to create a part and then move it to a certain position. I have tried printing the variable that holds the vector3 and it prints the correct vector3 but when I set that variable as the position, it doesn’t set and stays at 0,0,0. I have tried using CFrame instead but when I try and set an objects CFrame, it says requires a vector3 instead of a CFrame, I changed all the variables around so it would work.
Lerp returns a CFrame, so you should directly set the CFrame to Lerp.
Instead of part.Position = Vector3.new(Lerp), try doing part.CFrame = Lerp. I suspect that you tried doing part.CFrame = CFrame.new(Lerp), which wouldnt work since Lerp isnt a Vector3.
1 Like