Adding Acceleration and Deceleration to rotation speed

Hey @Carloblk!

I was finally able to get on my PC. Here’s the correct implementation that I explained in my last post:

However, like I said, that snippet which we needed to integrate into our logic, was from a very old post of mine. So here’s a neater code:

Not required here, as you can control both acceleration and deceleration by adjusting the Exponent value. Here’s what it looks like when it’s set to 0.75:

And here it’s set to 0.5:

But it’ll get really complex if you seriously want to control the acceleration, deceleration, and max angular speed accurately.

So hope this helps! :innocent:

1 Like