Wrote this peice of code for the challange for this video and it worked out

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 :slightly_smiling_face: :slightly_smiling_face:



2 Likes

Love the textures. They look great.

Thanks :smiley: :smiley:

Privacy & Terms