Epok Engine

EPOK RUNTIME

epok::MoveTo3DComponent::calculate_command

Method · 1 overload

Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.

Method

Performs `calculate command` as part of extensible command producers and point/target movement policies for shared character motors.

Belongs to
epok::MoveTo3DComponent
Header
character_commands.hpp
Overloads
1

Declaration

Declaration
CharacterCommandResult3D calculate_command(Fixed dt)override

Performs `calculate command` as part of extensible command producers and point/target movement policies for shared character motors.

ParameterTypeMeaning
dtFixedNot documented; consult the linked header.

Returns: CharacterCommandResult3D. Consult the linked header for its meaning.

Example sketch

C++ example
#include "character_commands.hpp"

// Assume these named values have been initialized with valid data:
// Fixed dt

epok::MoveTo3DComponent& object = /* obtain a valid instance */;

auto result = object.calculate_command(dt);

Trade-offs and warnings

Consult the linked header for this operation’s ownership, lifetime and failure behavior.

Declared in runtime/character_commands.hpp:168

Related members