Jump to content

Changing max speed vehicle?


Jeespwnd

Recommended Posts

  • 3 months later...

No, it currently isn't possible. However, the handling functions have been re-written and

, but can't be used yet in 1.0.3, and probably won't work in 1.0.4 either. As 1.1 is the next major version, expect it to be implemented then, or maybe a release after that.
Link to comment

well, if you need to change max speed you can try to use setElementVelocity

something like:

if you need to reduce max speed, just temprarly disable "forward" key if speed is over your max

and if you need to raise max speed just use getElementVelocity and setElementVelocity to multiply speed if player is pressing forward, and car is on ground (to prevent from flying), and speed is under your max

Link to comment

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...