node-insim
    Preparing search index...

    Class IS_OBH

    OBject Hit - car hit an autocross object or an unknown object

    Set the ISF_OBH flag in the IS_ISI to receive object contact reports.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    _raw: RawProperties<IS_OBH> = ...

    All string properties in a raw format as it was received from LFS

    C: CarContOBJ = ...

    Contact object

    Index: ObjectIndex = 0

    AXO_x as in ObjectInfo or zero if it is an unknown object

    OBHFlags: 0 | ObjectHitFlags = 0
    PLID: number = 0

    Player's unique id

    ReqI: 0
    Size: 24
    SpClose: number = 0

    High 4 bits: reserved / low 12 bits: closing speed (10 = 1 m/s)

    Time: number = 0

    Looping time stamp (hundredths - time since reset - like TINY_GTH)

    Type: ISP_OBH = PacketType.ISP_OBH
    X: number = 0

    Position (1 metre = 16)

    Y: number = 0

    Position (1 metre = 16)

    Zbyte: number = 0

    If OBH_LAYOUT is set: Zbyte as in ObjectInfo

    Methods