How to check for an Actor and Its Children Actor for being of X class

If the hit actor is a child of class X, the it should pass as being of type X.

If that fails, then cast to class X.

If that fails, then it’s not actually a child of X :slight_smile:

1 Like