problem in changing velocity / not consistent

i have resetvelocity method and it doesnt consistenly happen at the right time in code when i need it. if it matters its called after an ienumator method sometimes happen a little bit later or earlier than other times

Unless you share your code (with code tags), there is not nearly enough information here to help.