C# 클래스 RemoteTech.FlightComputer.SteeringHelper

파일 보기 프로젝트 열기: RemoteTechnologiesGroup/RemoteTech 1 사용 예제들

공개 메소드들

메소드 설명
GetVesselTorque ( Vessel vessel ) : Vector3

Get the total torque for a vessel.

InvertNoNaN ( this vector ) : UnityEngine.Vector3d
Pow ( UnityEngine.Vector3d vector, float exponent ) : UnityEngine.Vector3d
SteerShipToward ( Quaternion target, FlightCtrlState c, FlightComputer fc, bool ignoreRoll ) : void

Automatically guides the ship to face a desired orientation

SwapYZ ( UnityEngine.Vector3d input ) : UnityEngine.Vector3d

비공개 메소드들

메소드 설명
SetPIDParameters ( FlightComputer fc, UnityEngine.Vector3d TfV, double kdFactor, double kpFactor, double kiFactor ) : void

메소드 상세

GetVesselTorque() 공개 정적인 메소드

Get the total torque for a vessel.
public static GetVesselTorque ( Vessel vessel ) : Vector3
vessel Vessel The vessel from which ot get the total torque.
리턴 Vector3

InvertNoNaN() 공개 정적인 메소드

public static InvertNoNaN ( this vector ) : UnityEngine.Vector3d
vector this
리턴 UnityEngine.Vector3d

Pow() 공개 정적인 메소드

public static Pow ( UnityEngine.Vector3d vector, float exponent ) : UnityEngine.Vector3d
vector UnityEngine.Vector3d
exponent float
리턴 UnityEngine.Vector3d

SteerShipToward() 공개 정적인 메소드

Automatically guides the ship to face a desired orientation
public static SteerShipToward ( Quaternion target, FlightCtrlState c, FlightComputer fc, bool ignoreRoll ) : void
target UnityEngine.Quaternion The desired orientation
c FlightCtrlState The FlightCtrlState for the current vessel.
fc FlightComputer The flight computer carrying out the slew
ignoreRoll bool [optional] to ignore the roll
리턴 void

SwapYZ() 공개 정적인 메소드

public static SwapYZ ( UnityEngine.Vector3d input ) : UnityEngine.Vector3d
input UnityEngine.Vector3d
리턴 UnityEngine.Vector3d