Manual AI: Recovering and Awareness

Discussion in 'Programming' started by frieder_marek, Feb 25, 2024.

  1. frieder_marek

    frieder_marek
    Expand Collapse

    Joined:
    Feb 25, 2024
    Messages:
    3
    Hi there,
    Since I bought BeamNG.drive on Steam, I loved to experiment with the vehicle AI and its abilities. And since there is no official Vehicle Lua API, I have some questions:
    - Can I recover / reset / repair Manual Mode vehicles without losing the route I've given them?
    - In Traffic or Follow Mode, vehicles keep distance from each other when Awareness (avoidCars) is on, but when in Manual mode a vehicle got stuck and doesn't continue (or the vehicles do a U-turn), the vehicles behind it slow down, but don't get to a full stop, leading to a chain of small crashes (with collisions) or an overlapping group of vehicles, having stopped at exactly the same position, not moving any forward. Is there a way to fix that?
    - Finally, is there any way to make the vehicles recover automatically with certain conditions (such as overriding a limit of damage or driving much slower than the desired velocity would allow)?
    I'd be glad to any help!
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice