I’m using pointers to FVectors to change them once and have their location affect multiple places.
Each time I add four vectors to an array, then I assign to different objects pointers to the vectors inside that array.
But sometimes it gets messed up.
Here I log the last vectors I get each four mouse clicks ( I’m using LineTrace to get the vectors ( locations )).
What can make pointers lose their sh*t?
This is like the vectors in the array are changing their address without updating the pointers.