C# 클래스 MotionBaseMover, gmap377_leathGloves_inc

상속: MonoBehaviour
파일 보기 프로젝트 열기: bi3mer/gmap377_leathGloves_inc 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
ANGLE_LERP_FACTOR float
ArtificialInducedPitch float
EPSILON float
Instance MotionBaseMover,
MAX_PITCH_ANGLE float
PhysicsInducedPitch float
PhysicsInducedRoll float
TargetArtificialRotation Vector3
TargetPhysicsRotation Vector3
TargetRotation Vector3

공개 메소드들

메소드 설명
InduceArtificialPitch ( float pitchPercent ) : void

Add a front-to-back tilt to the motion base that does not represent an actual physical movement by the player ship. Enter a percentage of the max tilt, with negative numbers leaning left and positive numbers leaning right ([-1, 1]).

InduceArtificialRoll ( float tiltPercent ) : void

Add a left-to-right tilt to the motion base that does not represent an actual physical movement by the player ship. Enter a percentage of the max tilt, with negative numbers leaning left and positive numbers leaning right ([-1, 1]).

InducePhysicsPitch ( float pitchPercent ) : void

Add a front-to-back tilt to the motion base that does represents an actual physical movement by the player ship. Enter a percentage of the max tilt, with negative numbers leaning left and positive numbers leaning right ([-1, 1]).

InducePhysicsRoll ( float tiltPercent ) : void

Add a left-to-right tilt to the motion base that represents an actual physical movement by the player ship. Enter a percentage of the max tilt, with negative numbers leaning left and positive numbers leaning right ([-1, 1]).

비공개 메소드들

메소드 설명
Awake ( ) : void
LateUpdate ( ) : void
Start ( ) : void
Update ( ) : void

메소드 상세

InduceArtificialPitch() 공개 메소드

Add a front-to-back tilt to the motion base that does not represent an actual physical movement by the player ship. Enter a percentage of the max tilt, with negative numbers leaning left and positive numbers leaning right ([-1, 1]).
public InduceArtificialPitch ( float pitchPercent ) : void
pitchPercent float [-1, 1]
리턴 void

InduceArtificialRoll() 공개 메소드

Add a left-to-right tilt to the motion base that does not represent an actual physical movement by the player ship. Enter a percentage of the max tilt, with negative numbers leaning left and positive numbers leaning right ([-1, 1]).
public InduceArtificialRoll ( float tiltPercent ) : void
tiltPercent float [-1, 1]
리턴 void

InducePhysicsPitch() 공개 메소드

Add a front-to-back tilt to the motion base that does represents an actual physical movement by the player ship. Enter a percentage of the max tilt, with negative numbers leaning left and positive numbers leaning right ([-1, 1]).
public InducePhysicsPitch ( float pitchPercent ) : void
pitchPercent float [-1, 1]
리턴 void

InducePhysicsRoll() 공개 메소드

Add a left-to-right tilt to the motion base that represents an actual physical movement by the player ship. Enter a percentage of the max tilt, with negative numbers leaning left and positive numbers leaning right ([-1, 1]).
public InducePhysicsRoll ( float tiltPercent ) : void
tiltPercent float [-1, 1]
리턴 void

프로퍼티 상세

ANGLE_LERP_FACTOR 공개적으로 프로퍼티

public float ANGLE_LERP_FACTOR
리턴 float

ArtificialInducedPitch 공개적으로 프로퍼티

public float ArtificialInducedPitch
리턴 float

EPSILON 공개적으로 프로퍼티

public float EPSILON
리턴 float

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

public static MotionBaseMover, Instance
리턴 MotionBaseMover,

MAX_PITCH_ANGLE 공개적으로 프로퍼티

public float MAX_PITCH_ANGLE
리턴 float

PhysicsInducedPitch 공개적으로 프로퍼티

public float PhysicsInducedPitch
리턴 float

PhysicsInducedRoll 공개적으로 프로퍼티

public float PhysicsInducedRoll
리턴 float

TargetArtificialRotation 공개적으로 프로퍼티

public Vector3 TargetArtificialRotation
리턴 Vector3

TargetPhysicsRotation 공개적으로 프로퍼티

public Vector3 TargetPhysicsRotation
리턴 Vector3

TargetRotation 공개적으로 프로퍼티

public Vector3 TargetRotation
리턴 Vector3