How to access the component of a child actor component?

Hello,

I’m fairly new to blueprint and I was following this tutorial to create an IK rigged metahuman for a VR project.

Unlike the skeletal mesh used in the tutorial, the metahuman is a blueprint class with a skeletal mesh component, so I need to somehow access the skeletal mesh component from the bp class in order to do what the tutorial is doing.

I tried casting the metahuman blueprint class (which is a child actor component in the current context) to a skeleton mesh but it doesn’t work. So I’m not sure how I can do that.
Any suggestion is appreciated!

I think that in this case you need to do ‘Get Child Actor’ on the child actor component. This gets the actual Actor that the child actor component will spawn. Then you can access its components or cast it further.

obraz

4 Likes

I also just ran into this issue. I can see now how getting the actual actor is necessary. Thank you! This fixed my problem.

It works! Thank you very much!