FAnimInstanceProxy question

Hi all,

I’m using some of the methods in FAnimInstance to get state machine information at runtime and feed parameters to a custom animation graph node (via GetCheckedNodeForIndexUntyped). These methods were marked deprecated in 4.11 and say to use FAnimInstanceProxy instead - however the code for those methods has been updated to do just that behind the scenes and I see no other way to get a pointer to an entities FAnimInstanceProxy.

Is it safe to continue using those methods? Or is there some other way to get a pointer to the FAnimInstanceProxy object?

Polite bump. Any word on this, guys?

Not sure, but I think you have to create your own proxy struct, just like UVehicleAnimInstance has it own struct that is actually derived from FAnimInstanceProxy.

Sorry, I should have answered this when I found the answer. FAnimInstanceProxy has a constructor that takes in an FAnimInstance, so you can get access to the proxy that way. Once I did that, all the warnings vanished.