How can I make NPCs move around while inside a moving train?

Nawrot has the right idea. though if the train must move…an idea comes to mind, though I’m not sure if it’s even possible, but try attaching a nav mesh volume to the train itself. Someone more senior in here may know if that’s even possible? I think of games like warzone, with its trains. Seems odd there’s never NPCs on them, probably with the way AI navigation works it just doesn’t work. Unreals AI reaction and control isn’t the fastest as it is. Id think you’d have to do some advanced c++ work to get something like this to work, you could also try attaching the actors to the train, and just move them around in local space, but again I’ve yet to experiment with anything close to this type of mechanic so I’m not entirely sure