Hello everyone
I want to make it so that as the player moves away, the mesh is added to the previous one, but there was a problem with getting the coordinates of the StaticMeshComponent.
The whole problem appears in Event Tick
When this actor appears, I just need to move away a little and all the coordinates change to large ones. For debugging, I added a print and a line
This is how the world coordinates change for LastSegment
And this is where the lines go (as you can see on the screenshot, there is a small line that goes correctly)
Help, please
P.S. If you need any more information, please write.