Epic Developer Community Forums
How to rotate mesh 45º each time button presssed
Development
Programming & Scripting
unreal-engine
Derzo
(Derzo)
May 31, 2016, 12:12pm
3
You need to create a
ZTargetRot
float variable
On begin play, set it to the current
GetWorldRotation
Z + 45.
Just replace the
RinterpToConstant
target Z rotation with the
ZTargetRot
variable
Cheers
show post in topic