So as some moving door animations on a train I'm working on, I'm using CFrame animation. Is there any way I could slow it down without making it "choppy" as at the moment it is a bit too fast.
for i = 1, 35 do motor.C1 = motor.C1 * CFrame.new(0.007, 0, 0) wait(0.02) end for i = 1, 5 do motor.C1 = motor.C1 * CFrame.new(0, 0, -1) wait(0.06) end
Well the animation has to load, so if you want to make it so it's a bit more slower, you could either make a new animation that's a bit more longer or see if this works.
for i = 1, 35 do motor.C1 = motor.C1 * CFrame.new(0.007, 0, 0) wait(1) end for i = 1, 5 do motor.C1 = motor.C1 * CFrame.new(0, 0, -1) wait(3) end
I just upped the time it waits, I don't think it'll work but it's worth the shot.
Maybe this will be better:
for i = 1, 70 do motor.C1 = motor.C1 * CFrame.new(0.0035, 0, 0) wait(0.02) end for i = 1, 10 do motor.C1 = motor.C1 * CFrame.new(0, 0, -0.5) wait(0.06) end
I increased the number of loops and decreased value of changing