Jump to content

Accelerate at the beginning and slow down at the end.


Recommended Posts

  • Moderators
Posted
1 hour ago, P.Wiśnia said:

I need a function that will move the element(moveElement), but it will accelerate at the beginning and slow down at the end.

You can use moveObject and fill in the strEasingType argument.

If you want more customization, you need to spend more time on stuff like this: https://wiki.multitheftauto.com/wiki/Animate

 

Do you want to improve your Lua programming skills and make less mistakes?   Start with Lua Language Server!   🙀

 

  Useful functions  3x 

  Tutorials  4x 

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...