QUESTION See if Vehicle is off track in Python

Discussion in 'General' started by SaxoBen, Aug 13, 2018.

  1. SaxoBen

    SaxoBen New Member

    Joined:
    Aug 13, 2018
    Messages:
    2
    Likes Received:
    0
    Hello AssettoCorsaMods community,
    I'm trying so write a Script, which shows, if the car currently is on track, or not. So very similar to the bar, that pops up, if you cut a corner, but as an app.

    I read the AC Python Documentation, but I couldn't find anything, that was fitting for my purpose.
    Any help, or trick to get that information while driving is very appreciated.

    Thank you in advance
    Ben
     
  2. luchian

    luchian Administrator Staff Member

    Joined:
    Jun 3, 2014
    Messages:
    3,007
    Likes Received:
    1,491
    Not in the Python API, but the SharedMemory API has the info of how many tyres are out (SharedMemory is more in-depth, but only for the driver car).

    Not sure @Minolin still reads these forums, so best bet would be to try official forums :).
     
    SaxoBen likes this.
  3. SaxoBen

    SaxoBen New Member

    Joined:
    Aug 13, 2018
    Messages:
    2
    Likes Received:
    0

    I'll have a look at it. Thank you very much, for the quick answer
     
  4. fughettaboutit

    fughettaboutit aka leBluem

    Joined:
    Jul 21, 2014
    Messages:
    1,113
    Likes Received:
    378
    here is an example, use it as you want
    edit: removed leftovers
     

    Attached Files:

    Last edited: Aug 14, 2018
  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