Hello!
I’m having an issue where the “GetVelocity” node always returns a zero vector. I believe this might be something that I miss about inheritance or how MovementComponent, Actors and Characters interact.
My current hierarchy looks like this:
- BPI_Movable interface that specifies two functions: GetMoveEssentials and SetMoveEssentials.
- BP_LivingBeing that inherits from Character and implements BPI_Movable.
- BP_Person that inherits from BP_LivingBeing and has an Animation Graph where I try to use those values from the BP_Person (Character).
But for some reason the Get Velocity node in Set Move Essentials constantly returns zero vector which means my other variables won’t be set correctly either.
Why would that happen? BP_Person (as far as I can tell) doesn’t override those two functions so it should use those of it’s parent, right? What’s going on?