mdmp Posted April 23, 2009 Share Posted April 23, 2009 Hello! I'm new to MTA, and i have already a lot of cool ideas of scripts, that i will try to make myself. Hopefully I'm not totally new to Lua so it will help! Well, so i have a cool idea, but before i start to script, i am wondering if MTA have the ability of applying a force on a point of a car or an object, to make it move like if there was thruster attached at this point (those who played Gmod will easily understand what i mean). If it's possible, can you tell me the functions? I have quickly looked the wiki but didn't found anything about this. Reply only if you are sure that you are right please, thanks! Link to comment
robhol Posted April 23, 2009 Share Posted April 23, 2009 Nope, you're going to have to manage with setElementVelocity, and in the case of vehicles, setVehicleTurnVelocity. For objects I guess you could use setElementRotation or something. Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now