How to change Child actor Component in runtime?

Hello, I have two parent actors, each parent actor has one Child actor component.
And I want to switch their child actor component at runtime. So I use the [Set child actor] node, but it doesn’t work.
When I move the parent actor, the old child actor component will still follow. it feels there’s a link still chains to the old child actor.
Any suggestions?
Thanks

It’s: Child Actor Component → Set Child Actor Class

This will make the CAC destroy the actor it had (if any) and create a new instance. The CAC’s job is to maintain the lifespan of actor it instantiates.

If you want to swap ownership, it would be closer to:

But I’m not sure if you can force a CAC to own another existing actor.

Thanks for your reply.
I have tried that, but it didn’t work for me.
The old parent still controlled the CAC even I swapped the ownership.


You can see the owner has switch to AA2, but when I set the location of AA, the CAC will still move.

If you need to swap actor ownership around, perhaps you do not need a CAC. You’re not taking advantage of what it does and it seems to be gettting in the way here.

Attach actor to actor instead - less fuss. And one fewer component to worry about.

CAC is great if you want to Set Class. The underlaying actor can also travel up the chain to find the CAC’s owner effortlessly.

Perhaps it’s the wrong tool for the job.

Yeah, it looks like CAC is not suitable for this.
Thanks for your time anyway.