Hi, in my current character class I do this:
AnimInstanceRef = Cast<UCharAnimInstance>(GetMesh()->GetAnimInstance());
To get the animinstance in my character.
But how would I do the other way around? I need to trigger a function in my character class once an animation has ended, but don’t know how to get a reference to my character.
Also, how do I avoid circular dependency? But still be able to trigger functions between the classes?