Seeking Advice on Implementing Train Track Switching in Unreal Engine

Hello everyone, I’m developing a train game, and I’m looking for ideas on how to implement a track-switching system. In my Unreal Engine project, I’m currently using a spline to define the train’s path, which also generates the track. However, I’m unsure about how to create branching tracks within this spline, as the spline represents a single continuous path.

What approaches and recommendations would you suggest for implementing a track-switching system in this scenario? If you believe that using the spline for this purpose is either impossible, very challenging, or inefficient, I’m open to considering alternative locomotion systems for the train.