Trying to add steering behavior to avoid collision

I’d recommend using the built in solutions instead of rolling your own. Unreal has two built in solutions for avoidance. The first uses the AvoidanceManager and is a simple RVO avoidance based algorithm. The second is a partial port of Detour crowd. More info available here