Download

Actor object reference with get Location returns initial value

Hello, I’m new to UE & blueprint, I will be glad if you can explain to me the reason for the error that I encountered or a way to work around the problem.
The bottom line is as follows: I have many objects of the same type (inherited from the actor), they change position due to the enabled physics, I created a variable of a reference object type to track the position of one element, but when the GetWorldLocation is called, the initial coordinates are returned ( as if it were not a link but a copy of an object - I tried several assignment methods, the result did not change)


If you have a mesh inside the puzzle block actor, then that mesh could move around because of physics, but the actor doesn’t move. I don’t know your structure.

You might have some joy using getworldlocation on the mesh component of the bauble.

1 Like