change to physics based ship movement

This commit is contained in:
2026-05-19 21:53:55 +02:00
parent d397b9969a
commit 34c6dea505
10 changed files with 183 additions and 44 deletions

View File

@@ -30,7 +30,11 @@ struct ShipHealth
struct ShipMovement
{
Formula speedFormula; // REQ-SHP-STATS, REQ-SHP-MOVEMENT
Formula speedFormula; // max linear speed cap, tiles/s (REQ-SHP-STATS, REQ-SHP-MOVEMENT)
Formula mainAccelerationFormula; // forward acceleration, tiles/s²
Formula maneuveringAccelerationFormula;// omnidirectional acceleration, tiles/s²
Formula angularAccelerationFormula; // angular acceleration, rad/s²
Formula maxRotationSpeedFormula; // angular velocity cap, rad/s
};
struct ShipSensor