Try to create sphere at runtime

watch this. How To Do Line Tracing Using C++ In Unreal Engine - YouTube