I
I
IDzone-x2021-05-30 02:57:27
unreal engine
IDzone-x, 2021-05-30 02:57:27

How to get/find the component on the parent object?

How to access component on parent object from c++ code. I have a script inherited from ActorComponent, how can I access the SpringArm component in it (I don’t remember something there) which is located on the parent object.

PS I do all this for the player and the component itself also hangs on it.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Kirill Pavlov, 2021-06-03
@thelegend3004

GetOwner->Cast->SpringArm

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question