I thought the same thing when those animatronics were introduced. I tried to do this several different ways, and I found that everything can be done EXCEPT the barrier won't actually work. Barriers have to be "placed" in a fixed position before they'll function as a barricade. Attaching it to one of the animatronic rotating pieces, means it isn't "fixed" to the grid, and therefore doesn't function.
I hope Frontier just creates a simple (triggerable) train-track piece that functions as a path-crossing section. NPC actions would need modification to "wait" for a train to pass (perhaps they could take photos, smile, and wave to the passengers on the trains?) Different styles of lights or customizable lights and barriers would be great too.
This was one of the very first things i tried in game once we got the barriers.
Its such a shame the collision doesnt work when attached to an animated part.
The collision should be dissabled while they are in motion but be enabled once they have come to a stop.
There is a million things you could do if this worked.
I have sections of my park that are designed to be closed at the end of the day or on low traffic days and was going to use hidden barriers attached to motors, with a set of visible gates that i could set one position for open and another for closed.
So i could very easy and quickly activate them and close the gates to block guests.
Would be really good if we could make working gates and doors that once closed, actually block guests.
Edit: As for guests getting trapped. There is already a system in game to teleport guests to the park entrance blocks.
If you place a barrier close enough to guests, they will despawn and teleport to a park entrance block.
Even tho its not very realistic, guests that are cut off and cant path find to the entrance blocks for longer than 5 minutes could just despawn and teleport to the entrance blocks so they can meet up with their groups etc.