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

How do I add Acceleration to Movement?

I'm new to scripting, so this might be too ambitious. The movement in Roblox is relatively simple, you press w, you let go of w, and you stop instantly.

Instead, I want to try and make a sort of acceleration mechanic. If I press w, and let go, it takes a split second to completely slow down.

Is there any way I can do this? Thanks, Pop.

Edit: Probably a better question would be, how would I add acceleration to Roblox movement?

1 answer

This is something that you can do without even touching a script. If you insert a part into workspace, look at its properties, and change the friction to very low, the player will slide on it instead of coming to a dead stop. As for a script that could do this, it would be pretty challenging unless you can suddenly read all of roblox's scripts. Hope I helped!

-Cmgtotalyawesome

4 comments

0

My studio crashes every time I try to change the friction of an object, is there something I'm missing?

0

Um, I'm not sure, let me experiment with that.

0

Mine does that too, something must be up with roblox

0

I actually just lost a lot of data on a game I was working on because it failed to save along with crashing when I clicked friction...

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