Epok Engine

EPOK RUNTIME

epok::detail::character_position_2d

Function · 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.

Function

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

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

Declaration

Declaration
inline bool character_position_2d(Actor& actor,GameplayVector2& result)

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

ParameterTypeMeaning
actorActor &Not documented; consult the linked header.
resultGameplayVector2 &Not documented; consult the linked header.

Returns: bool. 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:
// Actor & actor
// GameplayVector2 & result

auto result = epok::detail::character_position_2d(actor, result);

Trade-offs and warnings

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

Declared in runtime/character_commands.hpp:71

Related members