Pushback Tug detaching early

I’m working on an MSFS 2024 in-sim panel pushback helper. It uses a JavaScript toolbar panel for route logic and a WASM helper to send commands to the native pushback tug.

The tug connects and starts pushing correctly, but then it visibly detaches before the route is complete. After that, the aircraft continues to behave like the tug is attached and finishes its route.

The confusing part is that the sim still appears to report the tug as attached, even after it is visibly detached. So the attach-state I’m reading may be stale, incomplete, or not the right variable for the actual physical/visual tug connection.

My control flow is basically:

  1. Plan and lock a pushback route in JavaScript.
  2. Attach/connect the native tug through the WASM helper.
  3. Run a JavaScript route loop that calculates speed and steering.
  4. Send separate commands to WASM:
    motionDirection: forward / backward / none
    steeringDirection: left / right / none
  5. WASM applies those commands to the sim/tug.

I’m not teleporting or directly moving the aircraft. I’m trying to keep the native tug attached and continuously command it along the route.

What I’m trying to figure out is why the tug visually detaches while the sim still reports it as attached, and whether there is a better variable/event that represents the tug’s real attached/physical state.

I have the same problem

Same issue. Tug releases at the point where the aircraft starts to enter the taxi way.

It sounds like a “Working as designed” issue. You’ll likely need to create a new simobject that doesn’t detach when it enters the taxiway, or whatever path it’s entering.

Is this useful? MSFS Route Editor