Свойство | Тип | Описание | |
---|---|---|---|
AoA | double | ||
acceleration | double | ||
bank | double | ||
heading | double | ||
lastPlanetUp | UnityEngine.Vector3d | ||
obtNormal | Vector3 | ||
obtRadial | Vector3 | ||
pitch | double | ||
planetEast | UnityEngine.Vector3d | ||
planetNorth | UnityEngine.Vector3d | ||
planetUp | UnityEngine.Vector3d | ||
progradeHeading | double | ||
radarAlt | double | ||
srfNormal | Vector3 | ||
srfRadial | Vector3 | ||
surfVelForward | UnityEngine.Vector3d | ||
surfVelRight | UnityEngine.Vector3d | ||
surfVesForward | UnityEngine.Vector3d | ||
surfVesRight | UnityEngine.Vector3d | ||
velocity | UnityEngine.Vector3d | ||
vertSpeed | double | ||
yaw | double |
Метод | Описание | |
---|---|---|
VesselData ( ) : System | ||
destroyArrow ( ) : void | ||
drawArrow ( Vector3 dir, |
||
findVesselFwdAxis ( Vessel v ) : void |
Find the vessel orientation at the CoM by interpolating from surrounding part transforms This orientation should be significantly more resistant to vessel flex/wobble than the vessel transform (root part) as a free body rotates about it's CoM Has an issue with the origin shifter causing random bounces
|
|
updateAttitude ( Vessel vessel ) : void |
Called in OnPreAutoPilotUpdate. Do not call multiple times per physics frame or the "lastPlanetUp" vector will not be correct and VSpeed will not be calculated correctly Can't just leave it to a Coroutine becuase it has to be called before anything else
|
public drawArrow ( Vector3 dir, |
||
dir | Vector3 | |
t | ||
Результат | void |
public findVesselFwdAxis ( Vessel v ) : void | ||
v | Vessel | |
Результат | void |
public updateAttitude ( Vessel vessel ) : void | ||
vessel | Vessel | |
Результат | void |
public Vector3d,UnityEngine lastPlanetUp | ||
Результат | UnityEngine.Vector3d |
public Vector3d,UnityEngine planetNorth | ||
Результат | UnityEngine.Vector3d |
public Vector3d,UnityEngine surfVelForward | ||
Результат | UnityEngine.Vector3d |
public Vector3d,UnityEngine surfVelRight | ||
Результат | UnityEngine.Vector3d |
public Vector3d,UnityEngine surfVesForward | ||
Результат | UnityEngine.Vector3d |
public Vector3d,UnityEngine surfVesRight | ||
Результат | UnityEngine.Vector3d |