Hello.
There is not much online learning material so i try to learn using Ai
FIrst, the Code the ai created and its comments on it:
// Calculate the precise frame alignment offset (Drift). Because we tick on frames, it might be 0.208s. This log proves we aren't losing time.
const float ActualInterval = CurrentWorldTime - LastSortTime;
const float AlignmentDrift = ActualInterval - TargetInterval;
UE_LOG(LogTemp, Warning, TEXT("ClosestTargetProcessor: Executing! Target: %fs | Actual: %fs | Frame Alignment Offset: +%fs"), TargetInterval, ActualInterval, AlignmentDrift);
When the Ai try to create delta time within the mass processor it says there is a drift need to be calculated. that sounds strange to me. i imagine that if epic build a system and if that system have delta time it will just work as is. Thats the entire point of having a real time from the context after all.
Is the Ai right to do that? is there another way to get delta time for calculations within the processor without getting it from an AActor? I hope an unreal engine’s engineer can comment on this, as both gemini and claud found it necessary to do that for some reason