Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Is there any way to slow down CFrame animation?

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	

2 answers

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.

7 comments

0

Already tried things like this, makes it really choppy (like its laggy)

0

Then attempt to remake the entire animation that's slower and re-time everything.

0

its CFrame animation bro

0

Oh right, apologies, so then is this for a part or a person?

0

You could also try using TweenSizing

0

Its for a part. Problem is the positioning has to be different hence the CFrame.new as it'll always be in a different position.

0

Jeez, this in my opinion is a bit more complicated, i'd recommend waiting for a new post but I don't know when their will be another answer.

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

1 comment

0

You can slow it down even more using this methode

This discussion is preserved as it was. New answers, comments, and votes are closed.