| 8 | DEFINE_LATENT_AUTOMATION_COMMAND_THREE_PARAMETER(FAlsxtSimulateMoveForward, ACharacter*, Character, float, Duration, float, ElapsedTime); |
| 9 | |
| 10 | bool FAlsxtSimulateMoveForward::Update() |
| 11 | { |
| 12 | float DeltaTime = FApp::GetDeltaTime(); |
| 13 | ElapsedTime += DeltaTime; |
| 14 | |
| 15 | if (Character) |
| 16 | { |
| 17 | // ALSXT characters still use standard AddMovementInput for basic velocity |
| 18 | Character->AddMovementInput(Character->GetActorForwardVector(), 1.0f); |
| 19 | } |
| 20 | |
| 21 | return ElapsedTime >= Duration; |
| 22 | } |
| 23 | |
| 24 | bool FAlsxtTest_BasicMovement::RunTest(const FString& Parameters) |
| 25 | { |
nothing calls this directly
no outgoing calls
no test coverage detected