Summary
Moves a flying
PlatformerGameKit.Characters.Character
.- Assembly
- PlatformerGameKit
.dll - Namespace
- PlatformerGameKit
.Characters - Base Types
-
- MonoBehaviour
- CharacterMovement
graph BT
Type-->Base0["CharacterMovement"]
click Base0 "/platformer/api/PlatformerGameKit.Characters/CharacterMovement"
Base0-->Base1["MonoBehaviour"]
Type["AirCharacterMovement"]
class Type type-node
Syntax
[AddComponentMenu(Character.MenuPrefix + "Air Character Movement")]
[PlatformerHelpUrl(typeof(AirCharacterMovement))]
public class AirCharacterMovement : CharacterMovement
Remarks
Documentation:
Physics - Air Character Movement
Attributes
Type | Description |
---|---|
AddComponentMenu | |
Platformer |
[Assert-Conditional]
A UnityEngine.HelpURLAttribute which points to Platformer Game Kit's documentation.
|
Fields
Name | Constant Value | Summary |
---|---|---|
Default |
-9500 |
Run after brains to use their input but before
PlatformerGameKit.Characters.CharacterBody2D to set the
PlatformerGameKit.Characters.CharacterBody2D.Velocity before it gets used.
Inherited from CharacterMovement
static
|
MinimumSpeed | 0.01 |
Any speed smaller than this is treated as zero.
Inherited from CharacterMovement
static
|
Properties
Name | Value | Summary |
---|---|---|
Character | Character |
Inherited from CharacterMovement
|
Methods
Name | Value | Summary |
---|---|---|
FixedUpdate |
void |
Inherited from CharacterMovement
|
OnValidate |
void |
[Editor-Only] Ensures that all fields have valid values and finds missing components nearby.
|
UpdateVelocity |
Vector2 |