Summary
The main 3D mob movement class. Manages movement properties such as speed and state,
handles jumping and gravity and calls controller.Move() when DoMovement() is called.
- Namespace
- Atavism
- Base Types
-
- Derived Types
-
graph BT
Type-->Base0["AtavismMobController"]
Type["MobController3D"]
class Type type-node
Derived0["AtavismMecanimMobController3D"]-->Type
click Derived0 "/docs/client_api_10.2.0/api/Atavism/AtavismMecanimMobController3D"
Derived1["AtavismLegacyAnimationMobController3D"]-->Type
click Derived1 "/docs/client_api_10.2.0/api/Atavism/AtavismLegacyAnimationMobController3D"
Syntax
public abstract class MobController3D : AtavismMobController
Fields
Properties
Methods
| Name |
Value |
Summary |
| ApplyGravity() |
bool |
Applies gravity to the player or mob. Returns whether or not the controller is grounded.
|
| ApplyJumping() |
void |
|
| CalculateJumpVerticalSpeed(float) |
float |
|
| despawn() |
void |
|
| DoMovement() |
void |
|
| DsCombat(bool) |
void |
|
| GetSpeed() |
float |
|
| HandleAggressive(object, PropertyChangeEventArgs) |
void |
|
| HandleCombatState(object, PropertyChangeEventArgs) |
void |
|
| HandleDeadState(object, PropertyChangeEventArgs) |
void |
|
| HandleMount(object, PropertyChangeEventArgs) |
void |
|
| HandleNoMove(object, PropertyChangeEventArgs) |
void |
|
| HandleState(object, PropertyChangeEventArgs) |
void |
|
| HandleWaterHeight(object, PropertyChangeEventArgs) |
void |
|
| HasJumpReachedApex() |
bool |
|
| IsGrounded() |
bool |
|
| IsGroundedWithTimeout() |
bool |
|
| IsJumping() |
bool |
|
| IsMoving() |
bool |
|
| IsMovingBackwards() |
bool |
|
| MovementStateHandler(object, PropertyChangeEventArgs) |
void |
|
| MoveMob() |
Vector3 |
|
| MovePlayer() |
Vector3 |
|
| MovingBack(bool) |
void |
|
| NoMove(float) |
void |
|
| ObjectNodeReady() |
void |
|
| OnControllerColliderHit(ControllerColliderHit) |
void |
|
| PlayAnimation(string, float) |
void |
|
| PlayMeleeAttackAnimation(string, string) |
void |
|
| PlayMeleeRecoilAnimation(string) |
void |
|
| SetWalk(bool) |
void |
|
| SkillMove(float) |
void |
|
| StartJump() |
void |
|
| StartTarget() |
void |
Called when this mob is now targeted by the player.
|
| StopTarget() |
void |
Called when this mob is no longer targeted by the player
|
| WaterRegionEntered(int) |
void |
|
| WaterRegionLeft(int) |
void |
|