프로퍼티 | 타입 | 설명 | |
---|---|---|---|
gravity | float | ||
maxAirAcceleration | float | ||
maxBackwardsSpeed | float | ||
maxFallSpeed | float | ||
maxForwardSpeed | float | ||
maxGroundAcceleration | float | ||
maxSidewaysSpeed | float | ||
sliding | CharacterMotorSliding, | ||
slopeSpeedMultiplier |
메소드 | 설명 | |
---|---|---|
Awake ( ) : void | ||
FixedUpdate ( ) : void | ||
OnControllerColliderHit ( |
||
SetControllable ( bool controllable ) : void | ||
SetVelocity ( Vector3 velocity ) : void | ||
Update ( ) : void |
메소드 | 설명 | |
---|---|---|
AdjustGroundVelocityToNormal ( Vector3 hVelocity, Vector3 groundNormal ) : Vector3 | ||
ApplyGravityAndJumping ( Vector3 velocity ) : Vector3 | ||
ApplyInputVelocityChange ( Vector3 velocity ) : Vector3 | ||
CalculateJumpVerticalSpeed ( float targetJumpHeight ) : float | ||
GetDesiredHorizontalVelocity ( ) : Vector3 | ||
GetDirection ( ) : Vector3 | ||
GetMaxAcceleration ( bool grounded ) : float | ||
IsGrounded ( ) : bool | ||
IsGroundedTest ( ) : bool | ||
IsJumping ( ) : bool | ||
IsSliding ( ) : bool | ||
IsTouchingCeiling ( ) : bool | ||
MaxSpeedInDirection ( Vector3 desiredMovementDirection ) : float | ||
TooSteep ( ) : bool | ||
UpdateFunction ( ) : void |
public OnControllerColliderHit ( |
||
hit | ||
리턴 | void |
public SetControllable ( bool controllable ) : void | ||
controllable | bool | |
리턴 | void |