C# Class DockingCamera.TargetHelper

Extended information about the selected target
显示文件 Open project: DennyTX/DockingCam Class Usage Examples

Public Properties

Property Type Description
AngleX float
AngleY float
AngleZ float
DX float
DY float
DZ float
Destination float
LookForward bool
SecondsToDock float
SpeedX float
SpeedY float
SpeedZ float
TargetMoveHelpX float
TargetMoveHelpY float
isMoveToTarget bool

Private Properties

Property Type Description
SignedAngleAroundVector float
UpdateAngles void
UpdateIsMoveToTarget void
UpdatePosition void
UpdateSpeed Vector3
UpdateTargetMoveHelp void
scaleExponentially float

Public Methods

Method Description
TargetHelper ( Part from ) : System
Update ( ) : void

Private Methods

Method Description
SignedAngleAroundVector ( Vector3 a, Vector3 b, Vector3 c ) : float
UpdateAngles ( ) : void
UpdateIsMoveToTarget ( Vector3 velocity ) : void
UpdatePosition ( ) : void
UpdateSpeed ( ) : Vector3
UpdateTargetMoveHelp ( ) : void
scaleExponentially ( float value, float exponent ) : float

Method Details

TargetHelper() public method

public TargetHelper ( Part from ) : System
from Part Object of comparison
return System

Update() public method

public Update ( ) : void
return void

Property Details

AngleX public_oe property

public float AngleX
return float

AngleY public_oe property

public float AngleY
return float

AngleZ public_oe property

public float AngleZ
return float

DX public_oe property

public float DX
return float

DY public_oe property

public float DY
return float

DZ public_oe property

public float DZ
return float

Destination public_oe property

public float Destination
return float

LookForward public_oe property

public bool LookForward
return bool

SecondsToDock public_oe property

public float SecondsToDock
return float

SpeedX public_oe property

public float SpeedX
return float

SpeedY public_oe property

public float SpeedY
return float

SpeedZ public_oe property

public float SpeedZ
return float

TargetMoveHelpX public_oe property

public float TargetMoveHelpX
return float

TargetMoveHelpY public_oe property

public float TargetMoveHelpY
return float

isMoveToTarget public_oe property

public bool isMoveToTarget
return bool