there are several things.
- if you substract 2 positions, they rarely are identical because of float point numeric error.( unless you set them to be identical, or entered the same)
- you can have a threshold value so hook no longer pulls if distance is below that value.
the standard radius of a template pawn is something like 45, and 200 unit in height, so when you try to set threshold, keep that in mind. - if you hook on to something, temporary disable their ability to move until the gate is closed.(either you or enemy)
do this first and see if you can reduce jitter.