“Hello. I’ve created a bus that drives from the beginning to the end of a spline. How can I make the bus stop at certain points for a specific amount of time, like at a red traffic lights? What’s the best way to add a mesh to a blueprint? Should I add it in parts or merge it into one whole piece and add it?”
First, you’d wanna trigger the movement with a custom event that’s constantly called by a looping timer, or after a Gate node that’s connected to Event Tick.
About detecting where to stop, you can set the spline’s last point as the next stop location, and check if the actor’s location is the same with the spline’s last point. You wouldn’t be able to make this detection accurate for the mid-points of the spline.
When that happens, you can clear & invalidate the timer by handle (or close the gate if you chose to use that node), start a non-looping timer and when it’s over, you can set the last point of the stop again, for the next stop location, before retriggering the movement.
Depends on the case, is it gonna be modular? If it’s parts don’t come off, why wouldn’t you just assign the whole thing from the mesh component?