Türen richtig eingestelllt in Fabrik
This commit is contained in:
parent
fd08d1c36e
commit
5e31ed668f
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -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]() {
|
||||
|
|
Loading…
Reference in New Issue