Hello, I try to find a way in C++ to get a component from a spawned actor.
I used this code to spawn the actor:
SpawnedActorRef = GetWorld()->SpawnActor<AActor>(Actor);
Then, I try GetComponents() but didn’t work.
Is there a way to do this?
Thanks.
Natalo77
(Natalo77)
2
https://answers.unrealengine.com/que…0938/view.html
this should help you