Someone Please Help With Child Objects.

Discussion in 'General Discussion' started by jamesthepershing, Dec 18, 2021.

  1. jamesthepershing

    jamesthepershing Active Member

    Joined:
    Jun 11, 2019
    Messages:
    103
    Likes Received:
    165
    Im looking to add a headboard to a locomotive in TS. I´m aware of how BIN files work and opening them and so on, could anyone give me a hand on adding child objects to locos? Thanks.
     
  2. torfmeister

    torfmeister Well-Known Member

    Joined:
    Nov 10, 2021
    Messages:
    1,228
    Likes Received:
    393
    Basically create the object. Then link it to the engine by defining it in the engine.bin. Study the entries in there for other child objects eg headlights. Position and rotation are stored in 4x4 matrices. Theres articles on how they work, just google.
     
    Last edited: Dec 18, 2021

Share This Page