Rotating an object by Line Trace

How would I rotate an object so that it’s forward vector is pointing to the end of a line trace?

Decide on your method of choice to reference the actor/object to rotate (I used ‘Get Actor Of Class’ for simplicity), then do something like the following:

If you don’t want Pitch and Roll, you can separate the rotator.