C# 클래스 kOS.SteeringHelper

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

공개 프로퍼티들

프로퍼티 타입 설명
integral UnityEngine.Vector3d
prev_err UnityEngine.Vector3d

공개 메소드들

메소드 설명
GetEffectiveInertia ( Vessel vessel, UnityEngine.Vector3d torque ) : UnityEngine.Vector3d
GetThrustTorque ( Part p, Vessel vessel ) : double
GetTorque ( Vessel vessel, float thrust ) : UnityEngine.Vector3d
Inverse ( UnityEngine.Vector3d input ) : UnityEngine.Vector3d
KillRotation ( FlightCtrlState c, Vessel vessel ) : void
Pow ( UnityEngine.Vector3d v3d, float exponent ) : UnityEngine.Vector3d
Sign ( UnityEngine.Vector3d vector ) : UnityEngine.Vector3d
SteerShipToward ( Direction targetDir, FlightCtrlState c, Vessel vessel ) : void
SwapYZ ( UnityEngine.Vector3d input ) : UnityEngine.Vector3d

비공개 메소드들

메소드 설명
ReduceAngles ( UnityEngine.Vector3d input ) : UnityEngine.Vector3d
averageVector3d ( UnityEngine.Vector3d vectorArray, UnityEngine.Vector3d newVector, int n ) : UnityEngine.Vector3d

메소드 상세

GetEffectiveInertia() 공개 정적인 메소드

public static GetEffectiveInertia ( Vessel vessel, UnityEngine.Vector3d torque ) : UnityEngine.Vector3d
vessel Vessel
torque UnityEngine.Vector3d
리턴 UnityEngine.Vector3d

GetThrustTorque() 공개 정적인 메소드

public static GetThrustTorque ( Part p, Vessel vessel ) : double
p Part
vessel Vessel
리턴 double

GetTorque() 공개 정적인 메소드

public static GetTorque ( Vessel vessel, float thrust ) : UnityEngine.Vector3d
vessel Vessel
thrust float
리턴 UnityEngine.Vector3d

Inverse() 공개 정적인 메소드

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

KillRotation() 공개 정적인 메소드

public static KillRotation ( FlightCtrlState c, Vessel vessel ) : void
c FlightCtrlState
vessel Vessel
리턴 void

Pow() 공개 정적인 메소드

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

Sign() 공개 정적인 메소드

public static Sign ( UnityEngine.Vector3d vector ) : UnityEngine.Vector3d
vector UnityEngine.Vector3d
리턴 UnityEngine.Vector3d

SteerShipToward() 공개 정적인 메소드

public static SteerShipToward ( Direction targetDir, FlightCtrlState c, Vessel vessel ) : void
targetDir Direction
c FlightCtrlState
vessel Vessel
리턴 void

SwapYZ() 공개 정적인 메소드

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

프로퍼티 상세

integral 공개적으로 정적으로 프로퍼티

public static Vector3d,UnityEngine integral
리턴 UnityEngine.Vector3d

prev_err 공개적으로 정적으로 프로퍼티

public static Vector3d,UnityEngine prev_err
리턴 UnityEngine.Vector3d