AI Logic in vehicles
Helllo.....Ok so I know that moveTO will not work with wheeledvehicles. I want to ask that how can i define AI vehicle logic like hitting the other cars when AI controlled vehicle sees it and following logic. Here are two more questions which i want ask about AI vehicle logic.
If u have any tutorials about AI Vehicles kindly provide me.Thanks
asked Jan 22 '17 at 04:31 PM in Blueprint Scripting
Ai only doesn't work with the wheeledVehicle Component, as you already found out yourself.
But we figuered out, what we really did need: A "MoveTo" you also be done by checking both locations and the forward vector, do a bit of math and you can just set the throttle and steering input of the car. For good results, you need more than just "a bit if math".
The other components did work, but not perfectly. After a "teleport" ie the mesh was teleported, but the senses weren't. But you can do that by a cone trace (or something similar )
So my conclusion is, that AI doesn't work with your cars, but you can most things without it.
answered Jan 23 '17 at 08:28 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here