__init__(self,
Node=0,
Lap=0,
PLID=0,
Position=0,
Info=0,
X=0,
Y=0,
Z=0,
Speed=0,
Direction=0,
Heading=0,
AngVel=0)
(Constructor)
| source code
|
Initialise the packet.
- Parameters:
Node - current path node
Lap - current lap
PLID - player's unique id
Position - current race position : 0 = unknown, 1 = leader, etc...
Info - flags and other info - see below
X - X map (65536 = 1 metre)
Y - Y map (65536 = 1 metre)
Z - Z alt (65536 = 1 metre)
Speed - speed (32768 = 100 m/s)
Direction - direction of car's motion : 0 = world y direction, 32768 = 180
deg
Heading - direction of forward axis : 0 = world y direction, 32768 = 180
deg
AngVel - signed, rate of change of heading : (16384 = 360 deg/s)
|