i’m trying to build a system which require the distance between camera and pawn actor in the three dimensions X, Y, and Z
i can get the Z axis with GetVerticalDistance, but i can’t get X distance and Y distance SEPARATELY
please take a look at this image to understand what i mean:
BTW camera is already attached to character so it should when ever i move the pawn the camera move with it and distance should not changed
but i tried this but when ever character move it the value will change.