Spawn point of the grid can't be moved

Good day!

I’m new to UE5, no experience in making games per se. I wanted to start with an easy game, so Sudoku was my choice. I hit a road block from the start. I can’t set up properly my grid.

I managed to get here

with the result

I can’t find a solution to move around the spawned grid.

Anyone can help me with a sugestion?

1 Like

You’re spawning at 0,0,0 + your offset. All you need to do is add the offset you want to all of the points.

1 Like

Thank you for your reply but unfortunately I can’t wrap my head around this. Do you mean that I need to put a new node with location before the grid loop?

1 Like

You need to add the location here

image

but there’s an easier way to do the whole thing anyway

You can’t use ‘get actor location’ if you’re doing this from the level BP. You could add a vector variable to make it happen at a certain location, but I’d recommend putting it in a BP actor. Much easier :slight_smile:

1 Like

Thank you so much, @ClockworkOcean !

This is what I got

image

The nodes are in the Big_Grid1 BP which is the big white tile where the smaller blue ones are spawned.

I tweeked a little with the scale and distance and I got the first picture.

I didn’t know there was a macro for creating a 2D grid. Only found answers in which you have to create one manually!

Thank you a lot, my friend!

1 Like

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