Summary
The stats and logic for moving a
Animancer.Examples.AnimatorControllers.GameKit.Character
.- Assembly
- Animancer
.dll - Namespace
- Animancer
.Examples .AnimatorControllers .GameKit - Base Types
-
- MonoBehaviour
graph BT
Type-->Base0["MonoBehaviour"]
Type["CharacterMovement"]
class Type type-node
Syntax
[AddComponentMenu(Strings.ExamplesMenuPrefix + "Game Kit - Character Movement")]
[HelpURL(Strings.DocsURLs.ExampleAPIDocumentation + nameof(AnimatorControllers) + "." + nameof(GameKit) + "/" + nameof(CharacterMovement))]
public sealed class CharacterMovement : MonoBehaviour
Examples
Attributes
Type | Description |
---|---|
AddComponentMenu | |
HelpURLAttribute |
Properties
Name | Value | Summary |
---|---|---|
Acceleration | float | |
CurrentTurnSpeed | float | |
Deceleration | float | |
Gravity | float | |
GroundMaterial | Material | |
IsGrounded | bool | |
MaxSpeed | float | |
MaxTurnSpeed | float | |
MinTurnSpeed | float | |
Sticking |
float |
Methods
Name | Value | Summary |
---|---|---|
GetTurnAngles |
bool | |
TurnTowards |
void | |
TurnTowards |
void | |
UpdateSpeedControl |
void |