Summary
The stats and logic for moving a
Animancer.Samples.AnimatorControllers.GameKit.Character.- Assembly
- Animancer
.dll - Namespace
- Animancer
.Samples .AnimatorControllers .GameKit - Base Types
-
- MonoBehaviour
graph BT
Type-->Base0["MonoBehaviour"]
Type["CharacterMovement"]
class Type type-node
Syntax
[AddComponentMenu(Strings.SamplesMenuPrefix + "Game Kit - Character Movement")]
[AnimancerHelpUrl(typeof(CharacterMovement))]
public class CharacterMovement : MonoBehaviour
Remarks
Sample:
3D Game Kit
Attributes
| Type | Description |
|---|---|
| AddComponentMenu | |
| Animancer |
[Assert-Conditional]
A UnityEngine.HelpURLAttribute which points to Animancer's documentation.
|
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 | |
| OnAnimatorMove |
void | |
| TurnTowards |
void | |
| TurnTowards |
void | |
| UpdateSpeedControl |
void |