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

Smoothly animate parts?

Asked by
PredNova 130
9 years ago

I'm wondering how you'd animate a part to move / rotate to a specific location smoothly. I know to do this with GUIs you use Tween, but how would I do this with parts?

Thanks :)

2 answers

Log in to vote
1
Answered by
adark 5487 Badge of Merit Moderation Voter Community Moderator
9 years ago

You'll have to manually implement a tweening function, or use one the modules that already exist.

(By the way, I suggest looking into the RenderStepped event.)

Ad
Log in to vote
4
Answered by 9 years ago

This site may help you: http://gizma.com/easing/

It's a list of all "easing" functions, which are what GUIs use. The functions are just math, so you can implement them in ROBLOX. In case you don't wanna do it yourself, Crazyman32 made a module to tween parts, which I recommend you go find.

Answer this question