Spawning Blueprint Actors Along A Spline Path

Hey everyone! I am working on a blueprint where I am wanting to spawn an array of Blueprint actors along a Spline path. Similar to how you can spawn Static Meshes along a Spline path. However, I am having issues with getting my actors to spawn along that Spline path/appear in the Game World. Below are screenshots of my current Blueprint setup along with the BP actor to spawn and the current output when running the game.



Context around my variables:
SplinePath is a component. SplineActorClass is a variant type of Actor Class Reference. NumberOfActors is an Integer with its default value set to 1.

More context around my overall project and goal:
I am wanting to ultimately spawn an array of tiles/spaces for a 3D board game…game where each tile is functional with variables and states aka a blueprint actor and not a static mesh.

Here’s an overview of the blueprint logic:

  1. Event Begin Play triggers on game start
  2. For Loop iterates from 0 up to Number of Actors
  3. Get Spline Length obtains the length of the Spline
  4. Division and multiplication nodes calculate the distance along the spline at which to place each actor
  5. Get Location at Distance Along Spline gets the specific location on spline at the calculated distance
  6. Make Transform constructs a transform for the actor
  7. Spawn Actor spawns the blueprint actor at the transform
1 Like

Try setting the coordinate space to World (GetLocationAtDistance). Those actors are not relative to the spline’s owner.


I believe they are spawning, just not where you can see them. Knowing the template’s coords, it’s likely they’re behind that wall (the local coords you’re feeding are close to 100,0,0 or thereabout):

You can bump their scale or Draw Debug String at that location to see where it is, in case it’s embedded in level geometry.

1 Like

Thank you! Yes, changing the Coordinates in the GetLocationAtDistance node from Local to World fixed it!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.