Lots of refactoring related to Movement Component State. Still not done yet.

This commit is contained in:
2026-02-13 23:24:18 -05:00
parent 30e53c3054
commit 107cb57b66
17 changed files with 621 additions and 331 deletions

View File

@@ -158,4 +158,11 @@ public:
//
UFUNCTION(BlueprintPure, Category = "Input|Key")
static FKey GetKeyByNameString(const FString &Name);
// Get the actor's forward vector multiplied by a speed.
// If SnapToXY is true, the forward vector is projected
// onto the XY plane and renormalized before scaling.
//
UFUNCTION(BlueprintCallable, BlueprintPure, Category = "Luprex|Utility", meta = (DefaultToSelf = "Actor"))
static FVector GetActorForwardVelocity(const AActor *Actor, double Speed = 1.0, bool bSnapToXY = false);
};