Script v1.4.4.0
Engine v7.0.0.2
- General
- Entity
- Node
- Scenegraph
- Lighting
- Camera
- Shape
- Particle System
- Physics
- Spline
- Animation
- Overlays
- Sound
- Input
- XML
- Network
- Callbacks
- Text Rendering
- Terrain Detail
- Tire Track
- Editor
- Rendering
- String
- Math
- I3D
- Fillplanes
Foundation Reference
addTrackPoint
DescriptionAdds a tire track positionDefinition
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
integer | systemId | id of tyre track object |
integer | trackId | id of tyre track |
float | x | x position of track object |
float | y | y position of tyre track object |
float | z | z position of tyre track object |
float | x | x part of up vector |
float | y | y part of up vector |
float | z | z part of up vector |
float | r | red color component [0, 1] |
float | g | green color component [0, 1] |
float | b | blue color component [0, 1] |
float | a | alpha (used to determine the amount of dirt) [0, 1] |
float | uw | bumpiness [0 1] |
float | dTheta | wheel dtheta/dt (used to determine forward/backward motion of wheel) |