Lots of refactoring related to Movement Component State. Still not done yet.
This commit is contained in:
@@ -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);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user