How to make object change spline it follows, from 1 spline to another?

Hi guys,
So i have this blue cube (train) move following spline 1, then make it branches by placing spline 2 in the middle. Second spline is a copy of the first, and they are the same blueprint.

How do I make the blue cube to change spline it follows (from spline 1 to spline 2) when it hits the box collision blueprint?

I don’t know how to make 3 of the bp to communicate with each other. Also is there better way to achieve this?

thanks a lot

You can use FindInputKeyClosestLocation node to determine the time on your first spline where the second spline start is closest to the first spline and save this information inside your trigger. When a train is entered the trigger you have to wait until it reach that saved time and then switch it spline to the second. It would be fine to add some interpolation movement between that points.

130809-ikclosestlocation.png