SteeringCommand.ixx File
Command for updating the heading of a GameObject. More...
Included Headers
#include <helios.engine.modules.physics.motion.components.SteeringComponent>
#include <helios.engine.ecs.GameObject>
#include <helios.math.types>
#include <helios.engine.runtime.messaging.command.TargetedCommand>
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:
14export namespace helios::engine::modules::physics::motion::commands {
36 const helios::math::vec2f direction_{};
46 explicit SteeringCommand(
47 const helios::math::vec2f direction,
65 void execute(helios::engine::ecs::GameObject gameObject) const noexcept override {
67 auto* hc = gameObject.get<helios::engine::modules::physics::motion::components::SteeringComponent>();
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.