AActor Object Question

I have question:

Is it somehow possible to get a AActor Object to use its functions in other Classes?
Atm i’m using static functions to do that.

You have three options:

  1. Use statics as you already and so you avoid passing references
  2. You hold a reference to a real actor and so you use it to call your methods
  3. You access the DefaultObject of the Class as shown next:
    ClassCDO = Class->GetDefaultObject();
    There are many examples using the DefaultObject within the engine source. Each option has its pros and its cons.

thanks :slight_smile: i’ll also try the other 2 :>