Lets say i have separated splines that are diferent tracks. How can i make and object following one spline switch to other spline?
How to make things talk to one another often depends on how they make it into the game. The splines and the object. Also, what triggers the switch?
Too many unknowns to answer directly bar “send the desired spline ref to the object” which might be an awkward thing to do since we know nothing about the structure.
Lets say i have multiple Blueprints with 1 spline in there, each one of those blueprints is parta of a train tack, lets call it modules. When in put this modules on the mape they form the whole track. and i wanted that the train would follow the spline inside each module…
Give the spline actor an overlap volume, the train can detect an overlap and get a ref.
Technically speaking a spline mesh component can already detect an overlap, perhaps you could use just that.
That was what i had in mind, but i cant seem to find a smooth transition using timeline node, do you have any sugestions?
You could probably generate a short transition spline? Starting where the object is now and ending on one of the points on the spline being transitioned to. Something like that.