Download

Start line tracing at crossair position (middle of screen)

I have this following blueprint that starts from the camera position and it reaches the crossair. I want the line trace to begin from the crossair which is in the middle of screen, and not to start from camera position, how can I do this? This is for my pick up items functionality in a third person game, and can anyone tell me how I can access the camera in one of my c++ actor component code, I don’t seem to have access to it because I have a third person blueprint project

It sounds like you want to use GetHitResultUnderCursor!:
https://youtube.com/watch?v=uMjnbnQd1dI
:slight_smile: