Spielerando

Make a cart or wagon follow its horse round corners with the right turning behaviour

A trade game needs carts that follow a lead animal, and the common ways to do it either let the cart slide sideways like a tray, stretch the pole between them, or cut every corner. This entry gives the simple rule that makes the cart swing round the way a real one does, and tells when the pair is bending too far.

Why this works

A cart is pulled, not steered: it can only roll along its own length. So it must always point at the spot where it is hitched, and sit a fixed distance behind it. That single rule makes the wheels track like real ones through every bend.

When not to use it

Wrong for things with their own steering, like a car, a boat with a rudder or a tank. Also not for carts on rails, where the track decides the path. Use the normal turning rules for those.

In the full entry

  • What to build, step by step
  • Starting values and the reason for each
  • 4 common mistakes and the fix
  • 31 lines of example code with 5 checks that pass
  • How your AI shows you that it works

Say this to your AI

Use the Spielerando entry "Make a cart or wagon follow its horse round corners with the right turning behaviour" (read_entry wagon-follows-its-horse-without-sliding-sideways) in my game. Build it step by step, and show me how you checked that it works.

Or skip this and connect the MCP: your AI then finds all of this by itself.Connect the MCP