Hi. Very new ti UE4 and especially BPs. I’m not new to coding but having trouble getting my head around simple things in BP form.
In this BP, I simply want to move a cube 10 times using a FOR LOOP. Each time it moves (99 is the size of one cube) I want it to place another BLANK FLOOR actor at it’s current position and rotation.
It works fine if I go in a straight line. However, I’ve tried to add some rotation to the floor object to make it turn and move in another direction, but it doesn’t work. The floor object IS rotated, I can see that at the end, in that it’s at a 45 degree angle to the floor objects it’s placed, however I was hoping it would move along that 45 degree angle once I’d set it.
What am I doing wrong, why is it just turning the floor object, but then not getting it’s new forward vector and moving along that?
Any help appreciated.
Here’s the BP.
Here’s the current outcome, the turned block is the block I was hoping to move in another direction.
Thanks for any help in advance.