Trade-offs and warnings
Consult the linked header for this operation’s ownership, lifetime and failure behavior.
EPOK RUNTIME
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.
Sets target position as part of the world2d navigation module.
void set_target_position(Fixed x, Fixed y)Sets target position as part of the world2d navigation module.
| Parameter | Type | Meaning |
|---|---|---|
x | Fixed | Not documented; consult the linked header. |
y | Fixed | Not documented; consult the linked header. |
Returns: Nothing (void).
#include "world2d_navigation.hpp"
// Assume these named values have been initialized with valid data:
// Fixed x
// Fixed y
epok::NavigationAgent2DComponent& object = /* obtain a valid instance */;
object.set_target_position(x, y);Consult the linked header for this operation’s ownership, lifetime and failure behavior.
Declared in runtime/world2d_navigation.hpp:483
class_idPerforms `class id` as part of the world2d navigation module.Methodget_max_speedReturns max speed as part of the world2d navigation module.Methodget_next_xReturns next x as part of the world2d navigation module.Methodget_next_yReturns next y as part of the world2d navigation module.Methodget_path_point_countReturns path point count as part of the world2d navigation module.Methodget_target_actorReturns target actor as part of the world2d navigation module.Methodget_target_xReturns target x as part of the world2d navigation module.Methodget_target_yReturns target y as part of the world2d navigation module.Methodget_velocity_xReturns velocity x as part of the world2d navigation module.Methodget_velocity_yReturns velocity y as part of the world2d navigation module.Methodis_navigation_finishedReports whether navigation finished as part of the world2d navigation module.Methodis_target_reachableReports whether target reachable as part of the world2d navigation module.Method