What exactly is the difference between the “Get Owner” and the “Get Parent Actor” node?
The tooltips are not very clear as to what is meant by ‘owner’ or ‘parent’ actor.
The main difference is that GetParentActor
works only for Actors created by ChildActorComponent
.
Here is small example. I’ve created TestActor
and added it to the Character
using ChildActorComponent
So when you are calling GetParentActor
for the child it returns my character (ParentActor
)
If you try to call GetOwner
for the ChildActor
function will return null cause there is no direct owner for the Actor
If you try to call GetOwner
for the Character
, function will return PlayerController
, because this is the actor I am currently controlling.
1 Like
Thank you! I think I get it now.
1 Like