I was always wondering how trains or other moving platforms are implemented in games. For example: there a many games where you can walk on the back of a truck or on a train that starts to move. During this time you can freely walk around like you could on normal map. (I don't think about rail-shooter parts were you just fire a gun or sit still somewhere). Of course you could load a new map that just gives you the feeling of moving where actually the map is pure static, but that's not what I mean.
How does the game translates all the vehicle movements to the actual position of the entities that are on it? Especially AI, collision (you don't fall throu the platform due to some glitches) and smooth rendering (some games screw this up and you see the entities bouncing up and down).
If I would do this than I would probably use an own coordinate system for the platform and translate this into the "real" on. But I have no idea how this would look since you would have to store the "belonging" platform for every entitie and I think there's probably a better solution.
I think a good example is the transport system in World of Warcraft. The NPCs even have waypoints during flights and you can trade with them. It actually feels like on the ground.
I would really like to get some links with detailed explanations if there are any.