Open 3D Engine Multiplayer Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
Multiplayer::NetworkCharacterRequests Class Referenceabstract

#include <NetworkCharacterComponent.h>

Inherits AZ::ComponentBus.

Public Member Functions

virtual AZ::Vector3 TryMoveWithVelocity (const AZ::Vector3 &velocity, float deltaTime)=0
 

Detailed Description

NetworkCharacterRequests ComponentBus handled by NetworkCharacterComponentController. Bus was created for exposing controller methods to script; C++ users should access the controller directly.

Member Function Documentation

◆ TryMoveWithVelocity()

virtual AZ::Vector3 Multiplayer::NetworkCharacterRequests::TryMoveWithVelocity ( const AZ::Vector3 &  velocity,
float  deltaTime 
)
pure virtual

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.


The documentation for this class was generated from the following file: