I was able to follow the step by step tutorial and get the cars to drive.
Now I want to grant them environmental awareness by adding collision and ray cast.
I am getting this error trying to add the Ray Cast. Error: BP_RLTrainer: Setup not complete.
can someone perhaps share an example on how to use Ray Cast and collision please?
I am a bit struggling to get it to work
Never mind th Redactoins have you noticed the raycast helper it can be created inside any manager component (trainer interactor etc) theres also a collision helper
What you want is actually very complicated. There’s quite a few steps that are needed to pull off what you want, and if you don’t already know these steps, it’ll take quite a while for you to get what you want.
I would use LINE TRACES instead, but it’s up to you.
I would check out:
Line/Box Traces (Creating a trace and impact point)
Collisions (Including box collisions, sphere collisions, etc.) and Overlap Events
A.I.
Then you would use this knowledge to get what you want.
Again, this is assuming you don’t know these already.