The base implementation of all player movement.
|
| void | UpdateMovementState () |
| | Updates the current state of movement. MovementState.Moving does not mean that the current velocity is > 0!
|
| |
| abstract void | Move (Vector3 direction) |
| | Updates the player movement with the direction data.
|
| |
| abstract void | Jump () |
| | Updates the player movement to execute a jump.
|
| |
| abstract void | MoveWithStrength (Vector3 direction, Vector3 strength) |
| | Updates the player movement with the direction data and defined strength .
|
| |
| abstract Vector3 | GetCurrentVelocity () |
| |
◆ GetCurrentVelocity()
| abstract Vector3 MovementBase.GetCurrentVelocity |
( |
| ) |
|
|
pure virtual |
◆ Jump()
| abstract void MovementBase.Jump |
( |
| ) |
|
|
pure virtual |
◆ Move()
| abstract void MovementBase.Move |
( |
Vector3 |
direction | ) |
|
|
pure virtual |
◆ MoveWithStrength()
| abstract void MovementBase.MoveWithStrength |
( |
Vector3 |
direction, |
|
|
Vector3 |
strength |
|
) |
| |
|
pure virtual |
◆ UpdateMovementState()
| void MovementBase.UpdateMovementState |
( |
| ) |
|
◆ _animationGrounded
| bool MovementBase._animationGrounded |
|
protected |
◆ _attackActionName
| string MovementBase._attackActionName |
|
protected |
◆ _climbing
| bool MovementBase._climbing |
|
protected |
◆ _climbingForce
| float MovementBase._climbingForce |
|
protected |
◆ _climbingMask
| LayerMask MovementBase._climbingMask |
|
protected |
◆ _currentMovementState
◆ _grounded
| bool MovementBase._grounded |
|
protected |
◆ _groundedTransform
| Transform MovementBase._groundedTransform |
|
protected |
◆ _input
| PlayerInput MovementBase._input |
|
protected |
◆ _isClimbingLocked
| bool MovementBase._isClimbingLocked |
|
protected |
◆ _isJumpingLocked
| bool MovementBase._isJumpingLocked |
|
protected |
◆ _isMovementLocked
| bool MovementBase._isMovementLocked |
|
protected |
◆ _isToggledMoving
| bool MovementBase._isToggledMoving |
|
protected |
◆ _jumpActionName
| string MovementBase._jumpActionName |
|
protected |
◆ _jumpForce
| float MovementBase._jumpForce |
|
protected |
◆ _jumpingMask
| LayerMask MovementBase._jumpingMask |
|
protected |
◆ _movementActionName
| string MovementBase._movementActionName |
|
protected |
◆ _speed
| float MovementBase._speed |
|
protected |
◆ _toggledSpeed
| float MovementBase._toggledSpeed |
|
protected |
◆ _toggleSpeedActionName
| string MovementBase._toggleSpeedActionName |
|
protected |
◆ AnimationGrounded
| bool MovementBase.AnimationGrounded |
|
get |
◆ Climbing
| bool MovementBase.Climbing |
|
get |
◆ CurrentMovementState
◆ Grounded
| bool MovementBase.Grounded |
|
get |
◆ GroundedTransform
| Transform MovementBase.GroundedTransform |
|
get |
◆ IsClimbingLocked
| bool MovementBase.IsClimbingLocked |
|
getset |
◆ IsJumpingLocked
| bool MovementBase.IsJumpingLocked |
|
getset |
◆ IsMovementLocked
| bool MovementBase.IsMovementLocked |
|
getset |
◆ IsToggledMoving
| bool MovementBase.IsToggledMoving |
|
get |