float CurrentYaw=GetOwner()->GetActorRotation().Yaw;
GetOwner()->SetActorRotation(FMath::Lerp(FRotator{0,CurrentYaw,0},FRotator{0,InitialYaw+90,0},0.01));
Code to open the door no matter where it is located . And This is my progress
float CurrentYaw=GetOwner()->GetActorRotation().Yaw;
GetOwner()->SetActorRotation(FMath::Lerp(FRotator{0,CurrentYaw,0},FRotator{0,InitialYaw+90,0},0.01));
Code to open the door no matter where it is located . And This is my progress
Love the textures. They look great.
Thanks