allow custom orbit rotations directions
This commit is contained in:
@@ -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
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user