karamazovbros
karamazovbros

Reputation: 979

What is Unreal equivalent of Unity gameObject.parent?

In the Unreal Blueprint Editor I have a hierarchy of components with a Scene parent and Pose Mesh child. I can get the component in Unreal through GetParentComponents(), but this returns an array while I just need the Scene component and not every parent. GetOwner() also doesn't return the direct parent.

If I have PoseableMesh component, how do I get the offset scene component?

enter image description here

Upvotes: 2

Views: 2253

Answers (1)

karamazovbros
karamazovbros

Reputation: 979

I used a Get Attach Parent node, with PoseableMesh as Target.

From the documentation: enter image description here

Upvotes: 3

Related Questions