|
Air-Trap 1.0.0
A multiplayer R-Type clone game engine built with C++23 and ECS architecture
|
Marks an entity as homing and provides tuning parameters. More...
#include <Homing.hpp>
Public Attributes | |
| float | steering {3.0f} |
| Steering factor (per second) used to lerp direction toward target. | |
| float | range {600.0f} |
| Detection range in pixels. | |
Marks an entity as homing and provides tuning parameters.
Definition at line 17 of file Homing.hpp.
| float rtp::ecs::components::Homing::range {600.0f} |
Detection range in pixels.
Definition at line 19 of file Homing.hpp.
Referenced by rtp::server::PlayerShootSystem::spawnBullet(), and rtp::server::PlayerShootSystem::spawnChargedBullet().
| float rtp::ecs::components::Homing::steering {3.0f} |
Steering factor (per second) used to lerp direction toward target.
Definition at line 18 of file Homing.hpp.
Referenced by rtp::server::PlayerShootSystem::spawnBullet(), and rtp::server::PlayerShootSystem::spawnChargedBullet().