I was able to spawn the cubes in Run-time through C++, but I can’t change their location. The function SpawnActor creates the object, but does not change its location, and the method setActorLocation returns false. Does Anybody know why ? Thanks !
I’m guessing that the problem is NOT that you cannot set the actor location. I’m guessing that the problem is that AMazeWall does not have a RootComponent set (to a UBoxComponent or something).
If AMazeWall.cpp does not have something like this in your constructor (or it’s set somewhere else):