Transforming between 2 different actor locations


This is the world transform approach. (Note that the getters are also in world coordinates)
Keep in mind that after the animation is done the position of the pickup is no longer updated and it stays behind when and if the player moves.

If you want to move it with the player you’ll have to child it at the end or update it every frame. Alternatively (and maybe this is best) you can have an empty mesh component in the player that is set to the (MESH on inspection) and moves from the Pickup position to the NEW POSITION. This way it is always a child of the player and will always move with them.

P.S. I’ve just noticed that you are using a TInterpTo instead of a simple linear interpolation. The function you are using requires delta time and doesn’t need a timeline but it should be used in tick.


This is how this is used but it the object noticeably lags behind when moving.