Hey Rohi,
Here is the my exploration charecter (player charecter) blueprint corresponding to the trace.
Things to note:
Notice the trace channel in LineTraceChannel node. It says Teleport. This is a custom trace channel I created in project setings>Collision>Trace. I have attache a picture for the same. This is so that my trace only hits things I want with this custom channel. Otherwise the line trace would hit any object with collision on it and give you a hit, unless you specify which channel or what mode of collision you wish to use, (overlap is my preferred mode)
Another thing to note, is that I created this Blueprint for use with an HMD like the oculus rift.
I hope this helps!
Best of luck!
https://forums.unrealengine.com/attachment.php?attachmentid=70291&d=1450272489
https://forums.unrealengine.com/attachment.php?attachmentid=70292&d=1450272513