I implemented an Interface function on a class with object type Pawn
and tracing with SinglebyChannel and I cant get my endFocus Function to Execute
On the Header file is
AActor * OverlappedActor;
the linetraceFucntion is ticking
Any Suggestions ?
Kehel18
(Kehel18)
2
Hello! Can you provide interface defenition? Also you can check overrides…
The first Screenshot is the implementation of the interface class to the Target class
the Second is the Interface class itself
the startFocus Function get called however but the endFocus doesn’t
Tuerer
(Tuerer)
4
Aren’t interface functions supposed to be ended with “= 0;” ?
I declare my interface functions like this:
UFUNCTION()
virtual void Interact() = 0;
And without this “= 0;” they don’t seem to work.