Ab
How do I fix this jittery behaviour when calculating distances?
So here, I'm calculating the direction between some target and where the projectile currently is. Then I keep moving the projectile to the target until it reaches it. The issue is, when it does reach it, it's very jittery, oscillating back and forth rapidly and correcting itself until it settles onto the target a few seconds later. Am I doing this badly?
6 replies