how to create a smooth 90 degree rotation

This can be done using slerp, an answer explaining how to do this can be found here: https://answers.unrealengine.com/questions/20243/slerp-rotation-in-blueprint.html