Jump to content

setVehicleHandling engineAcceleration Measurement


GhostXoP

Recommended Posts

What is the measurement for this? Is this number in relation to the vehicles top speed?

May i have an explanation over the measurement used for this property?

What is the measurement for this? Is this number in relation to the vehicles top speed?

May i have an explanation over the measurement used for this property?

this will be use to get Speed

  
  
    local vx,vy,vz = getElementVelocity(getPedOccupiedVehicle(Player))  --- Element  
        local Speed = math.sqrt(vx^2 + vy^2 + vz^2) * 161   --- Measuring speed 
  
  

ALL elemnt here

https://wiki.multitheftauto.com/wiki/Element

this in wiki

  
[url=https://wiki.multitheftauto.com/wiki/GetElementVelocity]https://wiki.multitheftauto.com/wiki/GetElementVelocity[/url] 
  

Link to comment

That has nothing at all to do with what i had asked for. If i wanted to find out how fast a vehicle was going id of calculated it myself.

How is the Property engineAcceleration in setVehicleHandling Measured.

For example, what part of what equation does it play a roll in. If its torque, is this Foot Pounds? (<- that is just an example of what i'm asking for)

Edited by Guest
Link to comment

Unfortunately the site gives as much information as the MTA Wiki does (just what it is) and a graph, but its not the answer i'm looking for. Id like to know where the number plays a part in the equation.

Whats the difference between 1 and 2 on the property for example, does it do 1*someAmount where as 2 would be 2*someAmount? If its a ratio, what does it represent? Rate of acceleration in what? mph? kmh? 1/50th meter per second per what?

That's the answer i'm looking for.

Link to comment

I found something that might be useful.

Engine Acceleration

-------------------

The really important thing to note here is that the higher the number, the

faster you get off the line and to your top speed. You'll notice some large

vehicles have a high acceleration, but generally those don't have a top speed

worth two and a half damns on the black market. It's measured in m/(s^2) or

Meters per second per second as people have pointed out to me (also known as

velocity change per second).

Note that NPCs seem vastly unaffected by this (I also feel that they don't seem

to be affected by max velocity as well).

How to calculate:

http://wps.prenhall.com/wps/media/objec ... /E03.2.pdf

Online calculator:

http://www.smartconversion.com/unit_cal ... lator.aspx

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