|
Vulkan Schnee 0.0.1
High-performance rendering engine
|
Output values from one arcade glider simulation step. More...
#include <ArcadeGliderFlightModel.h>
Public Attributes | |
| glm::vec3 | velocity { 0.0f } |
| Updated world-space velocity. | |
| glm::vec3 | glideDirection { 0.0f, 0.0f, -1.0f } |
| Updated normalized glide direction. | |
| float | momentum = 0.0f |
| Horizontal speed component used as glide momentum. | |
| float | verticalVelocity = 0.0f |
| Vertical velocity after the step. | |
| float | climbDemand = 0.0f |
| Requested climb amount derived from input. | |
| float | diveDemand = 0.0f |
| Requested dive amount derived from input. | |
| float | windAlignment = 0.0f |
| Alignment between glide direction and wind direction. | |
| float | windMomentumDelta = 0.0f |
| Momentum gained or lost from wind this step. | |
| float | dragDelta = 0.0f |
| Momentum lost to drag this step. | |
| float | climbMomentumDelta = 0.0f |
| Momentum spent on climb this step. | |
| bool | stalled = false |
| True while the glider is stalled after this step. | |
| bool | enteredStall = false |
| True on the first step that enters stall. | |
| bool | recoveredStall = false |
| True on the first step that exits stall. | |
| float | stallRecoveryTimer = 0.0f |
| Updated stall recovery timer. | |
Output values from one arcade glider simulation step.
Definition at line 90 of file ArcadeGliderFlightModel.h.
| float Engine::Components::ArcadeGliderStep::climbDemand = 0.0f |
Requested climb amount derived from input.
Definition at line 115 of file ArcadeGliderFlightModel.h.
| float Engine::Components::ArcadeGliderStep::climbMomentumDelta = 0.0f |
Momentum spent on climb this step.
Definition at line 140 of file ArcadeGliderFlightModel.h.
| float Engine::Components::ArcadeGliderStep::diveDemand = 0.0f |
Requested dive amount derived from input.
Definition at line 120 of file ArcadeGliderFlightModel.h.
| float Engine::Components::ArcadeGliderStep::dragDelta = 0.0f |
Momentum lost to drag this step.
Definition at line 135 of file ArcadeGliderFlightModel.h.
| bool Engine::Components::ArcadeGliderStep::enteredStall = false |
True on the first step that enters stall.
Definition at line 150 of file ArcadeGliderFlightModel.h.
| glm::vec3 Engine::Components::ArcadeGliderStep::glideDirection { 0.0f, 0.0f, -1.0f } |
Updated normalized glide direction.
Definition at line 100 of file ArcadeGliderFlightModel.h.
| float Engine::Components::ArcadeGliderStep::momentum = 0.0f |
Horizontal speed component used as glide momentum.
Definition at line 105 of file ArcadeGliderFlightModel.h.
| bool Engine::Components::ArcadeGliderStep::recoveredStall = false |
True on the first step that exits stall.
Definition at line 155 of file ArcadeGliderFlightModel.h.
| bool Engine::Components::ArcadeGliderStep::stalled = false |
True while the glider is stalled after this step.
Definition at line 145 of file ArcadeGliderFlightModel.h.
| float Engine::Components::ArcadeGliderStep::stallRecoveryTimer = 0.0f |
Updated stall recovery timer.
Definition at line 160 of file ArcadeGliderFlightModel.h.
| glm::vec3 Engine::Components::ArcadeGliderStep::velocity { 0.0f } |
Updated world-space velocity.
Definition at line 95 of file ArcadeGliderFlightModel.h.
| float Engine::Components::ArcadeGliderStep::verticalVelocity = 0.0f |
Vertical velocity after the step.
Definition at line 110 of file ArcadeGliderFlightModel.h.
| float Engine::Components::ArcadeGliderStep::windAlignment = 0.0f |
Alignment between glide direction and wind direction.
Definition at line 125 of file ArcadeGliderFlightModel.h.
| float Engine::Components::ArcadeGliderStep::windMomentumDelta = 0.0f |
Momentum gained or lost from wind this step.
Definition at line 130 of file ArcadeGliderFlightModel.h.