Türen richtig eingestelllt in Fabrik

This commit is contained in:
Johannes Theiner 2021-03-13 14:13:44 +01:00
parent fd08d1c36e
commit 5e31ed668f
Signed by: joethei
GPG Key ID: 9D2B9A00FDA85BCD
4 changed files with 1 additions and 2 deletions

Binary file not shown.

Binary file not shown.

View File

@ -36,10 +36,9 @@ void URotatingActor::TickComponent(float DeltaTime, ELevelTick TickType, FActorC
void URotatingActor::Rotate(const FRotator TargetRotation)
{
FTimerHandle handle;
if(RotationDelay == 0)
{
Move(targetRotation);
Move(TargetRotation);
}else
{
GetWorld()->GetTimerManager().SetTimer(handle, [this, TargetRotation]() {