Property | Type | Description | |
---|---|---|---|
canControl | bool | ||
jumping | CharacterMotorJumping, | ||
movement | CharacterMotorMovement, | ||
movingPlatform | CharacterMotorMovingPlatform, | ||
sliding | CharacterMotorSliding, | ||
useFixedUpdate | bool |
Method | Description | |
---|---|---|
Awake ( ) : void | ||
FixedUpdate ( ) : void | ||
OnControllerColliderHit ( |
||
SetControllable ( bool controllable ) : void | ||
SetVelocity ( Vector3 velocity ) : void | ||
Update ( ) : void | ||
UpdateFunction ( ) : void |
Method | Description | |
---|---|---|
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 ) : double | ||
MoveWithPlatform ( ) : bool | ||
SubtractNewPlatformVelocity ( ) : IEnumerator | ||
TooSteep ( ) : bool |
public OnControllerColliderHit ( |
||
hit | ||
return | void |
public SetControllable ( bool controllable ) : void | ||
controllable | bool | |
return | void |
public SetVelocity ( Vector3 velocity ) : void | ||
velocity | Vector3 | |
return | void |
public CharacterMotorMovingPlatform, movingPlatform | ||
return | CharacterMotorMovingPlatform, |