Hi!

Why are you defining a vector inside the Action?
VECTOR* distance = {x=0;y=0;z=0;}

Did you try placing this line outside the Action?

Ottawa smile