Calculate Transform first before spawning actor

I just started with unreal engine today (used unity before) and I want to spawn a set of actor that a different position and scale in relation with its index.

BP: (ignore all the math in the 2 comments)

How do I let the game calculate the position and scale first before spawning the actor because all it does now is directly activating the white line in the middle.

That shouldn’t normally be a problem. The blueprints will do that calculation before doing the spawn. I suggest checking the values of your constants (they default to zero) and try changing the calculations to floats as early as possible so you don’t risk rounding to zero.

Pop a print node in there and have a look at what the spawn transform is.

1 Like

By using print like you guys said I found out the function couldn’t be called in the construction script so I had to move it and it works now, thanks!

1 Like