How to raytrace in c++

hi this is my first time using ue4 and using c++ i’m trying to make real bullets and their physics and I hear about raytracing but I can’t seem to finding nothing about for c++ and I look in the api I can’t find anything need help and any tips from you pros using ue4

I think you should search LineTrace isntead, take a look at this wiki page may help you

Unfortunately now all of the html tags are broken on these unreal wiki entries making the code hard to read.

What you need to search for is “UE4 line trace c++”

Here is a tutorial on using line traces in c++ that you might find useful:

https://unrealcpp.com/line-trace-on-tick/

and if you are really serious about learning c++ with UE4 there is two must take courses on udemy that are fantastic. One by a former epic employee Tom Looman.

https://www.udemy.com/unrealengine-cpp/learn/v4/overview

https://www.udemy.com/unrealcourse/learn/v4/overview