I’m trying to cast to my arms animation BP inside my handgun animation BP to get the “speed” since it is already setup in there.
But I’m dont know what object to wire in, lot of things are not inherited.
Am I going for the wrong approach?
Is there any other way I can get player velocity on my gun?
I generally set a reference to the parent/child in the thing I am working in so I can avoid casting.
Try usually use things like get owning actor or the like. Or when the character BP fires up, get it’s anim-bp and set an exposed variable there-in.
Casting is NOT as awful as everyone makes it seem. There was a thread once-past that had some real-world testing where casting wasn’t the performance hog it comes across, but being older-schoole, I tend to hold onto references for things (just my jam).