Setting skeletal mesh via Line Trace

Hello, I’m sort of a noob when it comes to UE4 so bare with me…
I’m trying to set my player’s skeletal mesh to a mesh of the object im looking at via line trace. Setting up the line trace is easy but i run into a wall when trying to switch the meshes. Any easy solution? Thanks!!