Opening Doors With Unreal Engine

private: 
float InitialYaw;
float CurrentYaw;
UPROPERTY(EditAnywhere)
float TargetYaw = -90.f;
CurrentYaw = FMath::FInterpTo(CurrentYaw, TargetYaw, DeltaTime, 1);
FRotator DoorRotation = GetOwner()->GetActorRotation();
DoorRotation.Yaw = CurrentYaw;
GetOwner()->SetActorRotation(DoorRotation);

--

--

--

Full stack web developer with experience in Ruby on Rails, JavaScript, React and Redux and learning more!

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Speed Up your career with these No-Code tools!

no code

Trident: Pool 1 — Constant Product Pool

Structuring Go Codes (Our Way)

What a week… Reflection and Power Apps

Struggles and Successes of The Sinatra Project

How to Sort Out Tech Debt and Speed-up Development

Product Manager’s Guide to Deploying WhatsApp for Business API

Desmos📈, will you be my valentine ❤️?

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Danny Padron

Danny Padron

Full stack web developer with experience in Ruby on Rails, JavaScript, React and Redux and learning more!

More from Medium

Statement Control

Chapter four

goodbye takko

State-props: Props stands for properties and they are object that are .