UCharacterMovementComponent::GetGravitySpaceComponentZ

Returns the component of the vector in the gravity-space vertical direction.