LUADOC - Farming Simulator 17

Printable Version

addTrackPoint

Description
Adds a tire track position
Definition
addTrackPoint(integer systemId, integer trackId, float x, float y, float z, float x, float y, float z, float r, float g, float b, float a, float uw, float dTheta)
Arguments
integersystemIdid of tyre track object
integertrackIdid of tyre track
floatxx position of track object
floatyy position of tyre track object
floatzz position of tyre track object
floatxx part of up vector
floatyy part of up vector
floatzz part of up vector
floatrred color component [0, 1]
floatggreen color component [0, 1]
floatbblue color component [0, 1]
floataalpha (used to determine the amount of dirt) [0, 1]
floatuwbumpiness [0 1]
floatdThetawheel dtheta/dt (used to determine forward/backward motion of wheel)