|Category||Farming Simulator 2009|
|Martin Schmidt (unknown)||12.01.2010 18:41|
I would like to know what functions i can call on the motor object in a lau script.
like i know i can call: self.motor:getMaxRpm()
but what else can i call??
|Tobias F. (unknown)||13.01.2010 16:18|
|You can look at the VehicleMotor.lua Script in the SDK ;)
self:getTorque() returns the Motor Torque
self:getGearRatio(acceleration) returns the gearRatio
and you can set the speed level with:
Note: Log in to post. Create a new account here.