Get relative location from child actor returns 0

I have a blueprint with a child actor (Child actor class = none)

Relative location of this child actor: 0.0 cm 3.166474 cm 2.166618 cm

Begin play → get relative location (from this child actor) → returns 0 0 0

Are you sure that you dont get the actor location instead child actor location?

Can you provide screenshots of code?

Of course I am sure. In addition as I said, child actor class = none. Impossible to get the location of the actor. It would generate an error.

Hey CarlosMeba,

I’m not seeing the same issue on my end. I’m testing this in 4.15.1.

I’ve created an actor, added a child actor component, moved it in the blueprint viewport to 30,0,0 and then printed the Relative Location on Begin Play.

For me, it’s printing 30, 0, 0, which is expected.

Could you provide a list of repro steps that I can follow to see the issue occur in a clean project?

Hello,

I am marking this topic as resolved for tracking purposes, as we have not heard from you in a few days. If this issue persists, feel free to respond to this thread. For any new issues, please create a new Answerhub topic.

Have a great day