#include <NetworkCharacterComponent.h>
Inherits NetworkCharacterComponentControllerBase, and NetworkCharacterRequestBus::Handler.
Public Member Functions | |
NetworkCharacterComponentController (NetworkCharacterComponent &parent) | |
void | OnActivate (Multiplayer::EntityIsMigrating entityIsMigrating) override |
void | OnDeactivate (Multiplayer::EntityIsMigrating entityIsMigrating) override |
AZ::Vector3 | TryMoveWithVelocity (const AZ::Vector3 &velocity, float deltaTime) override |
Static Public Member Functions | |
static void | Reflect (AZ::ReflectContext *context) |
NetworkCharacterComponentController This is the network controller for NetworkCharacterComponent. Class provides the ability to move characters in physical space while keeping the network in-sync.
|
override |
TryMoveWithVelocity Will move this character entity kinematically through physical world while also ensuring the network stays in-sync. Velocity will be applied over delta-time to determine the movement amount. Returns this entity's world-space position after the move.