I have the same bug going on as this;
Except its in third person C++ template. I’ve also reproduced it in a project that was started from a blank C++ project. The solution I’ve linked to is to use a socket to do the line trace from. However, I’m trying to do a trace from the camera. Has anyone else had this problem and found an alternative solution? Thanks alot!
Hi ,
What have you attempted so far to get this working for you, and what were the exact results that you received?
Hiya, I couldnt think of a way of resolving it, at all. In terms of using the blueprint nodes for line or capsule trace. So I exposed a function to blueprints- getDistanceToCollision. and I’m using that with a tiny “sensor” mesh thats on the character. It returns the closest point on the mesh to the “sensor”.
Oh, thats step one of the process. Next step is to convert the locations it returns to screen space and find the one thats closest to the middle…
Hi ,
I was going back through some old issues and realized that I never got back to you on this one. I apologize for that. Have you managed to get this working for you?
I didnt use a trace from camera. Couldnt get it to work, so I used getDistanceToCollision instead… Thanks