allow custom orbit rotations directions

This commit is contained in:
2026-06-17 20:36:11 +02:00
parent 1324a320e2
commit 0cf3d64983
8 changed files with 139 additions and 56 deletions

View File

@@ -9,5 +9,6 @@
struct MovementIntentComponent
{
bool active = false;
QVector2D target;
QVector2D target; // straight-line destination, or orbit center when orbitRadius_tiles > 0
float orbitRadius_tiles = 0.0f; // 0 ⇒ go straight to target; >0 ⇒ orbit target at this radius
};