Hello.
I’m struggling to get a reference of a custom class derived from AActor.
I’ve defined a pointer to this custom class :
AManipulateur* HandlingRobot;
I need to set this pointer to the instance of this class I have in my scene.
I was thinking of using :
UGameplayStatics::GetActorOfClass(),
but it returns an AActor* pointer, and not a AManipulateur* pointer.
What would be the best way to do it?
A cast? How would I set it?
Thanks for your help.