__init__(self,
ReqI=0,
Pos=[ 0, 0, 0] ,
H=0,
P=0,
R=0,
ViewPLID=0,
InGameCam=0,
FOV=0.0,
Time=0,
Flags=0)
(Constructor)
| source code
|
Initialise the packet.
- Parameters:
ReqI - instruction : 0 / or reply : ReqI as received in the TINY_SCP
Pos - Position vector
H - heading - 0 points along Y axis
P - pitch - 0 means looking at horizon
R - roll - 0 means no roll
ViewPLID - Unique ID of viewed player (0 = none)
InGameCam - InGameCam (as reported in StatePack)
FOV - FOV in degrees
Time - Time to get there (0 means instant + reset)
Flags - state flags from ISS_
|