C# 클래스 UnityPlatformer.JumpConstantSpring

Math behind the Jump
상속: Jump
파일 보기 프로젝트 열기: llafuente/unity-platformer

공개 프로퍼티들

프로퍼티 타입 설명
initialVelocity float
minPenetrationSpeed float
penetration float

공개 메소드들

메소드 설명
EndJump ( Vector3 &velocity ) : void
IsBeforeApex ( ) : bool
IsHanging ( ) : bool
JumpConstantSpring ( Character _character, JumpConstantSpringProperties jp ) : System

Constructor

JumpConstantSpring ( Character _character, float _initialVelocity, float _penetration, float _minPenetrationSpeed ) : System

Constructor

Jumping ( Vector3 &velocity, float delta ) : bool
StartJump ( Vector3 &velocity ) : void

메소드 상세

EndJump() 공개 메소드

public EndJump ( Vector3 &velocity ) : void
velocity Vector3
리턴 void

IsBeforeApex() 공개 메소드

public IsBeforeApex ( ) : bool
리턴 bool

IsHanging() 공개 메소드

public IsHanging ( ) : bool
리턴 bool

JumpConstantSpring() 공개 메소드

Constructor
public JumpConstantSpring ( Character _character, JumpConstantSpringProperties jp ) : System
_character Character
jp JumpConstantSpringProperties
리턴 System

JumpConstantSpring() 공개 메소드

Constructor
public JumpConstantSpring ( Character _character, float _initialVelocity, float _penetration, float _minPenetrationSpeed ) : System
_character Character
_initialVelocity float
_penetration float
_minPenetrationSpeed float
리턴 System

Jumping() 공개 메소드

public Jumping ( Vector3 &velocity, float delta ) : bool
velocity Vector3
delta float
리턴 bool

StartJump() 공개 메소드

public StartJump ( Vector3 &velocity ) : void
velocity Vector3
리턴 void

프로퍼티 상세

initialVelocity 공개적으로 프로퍼티

Initial velocity
public float initialVelocity
리턴 float

minPenetrationSpeed 공개적으로 프로퍼티

Penetrate if speed is greater than
public float minPenetrationSpeed
리턴 float

penetration 공개적으로 프로퍼티

Penetration in units
public float penetration
리턴 float