SteeringCommand.ixx File
Command for updating the heading of a GameObject. More...
Included Headers
#include <helios.engine.runtime.world.GameWorld>
#include <helios.engine.runtime.world.UpdateContext>
#include <helios.math.types>
#include <helios.engine.modules.physics.motion.components.SteeringComponent>
#include <helios.engine.ecs>
Namespaces Index
| namespace | helios |
| namespace | engine |
|
Main engine module aggregating core infrastructure and game systems. More... | |
| namespace | modules |
|
Domain-specific components and systems. More... | |
| namespace | physics |
|
Physics simulation and collision detection subsystem for the game engine. More... | |
| namespace | motion |
|
Motion physics components and systems. More... | |
| namespace | commands |
Classes Index
| class | SteeringCommand |
|
Command that updates the heading direction of a GameObject. More... | |
Description
Command for updating the heading of a GameObject.
File Listing
The file content with the documentation metadata removed is:
17export namespace helios::engine::modules::physics::motion::commands {
28 class SteeringCommand {
39 const helios::math::vec2f direction_{};
42 const helios::engine::ecs::EntityHandle entityHandle_;
52 explicit SteeringCommand(
53 const helios::engine::ecs::EntityHandle entityHandle,
54 const helios::math::vec2f direction,
73 void execute(helios::engine::runtime::world::UpdateContext& updateContext) const noexcept {
81 auto* hc = gameObject->get<helios::engine::modules::physics::motion::components::SteeringComponent>();
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.