XNA Movement Physics and Tracking
So, I've got a game I'm making and I've run into a snag. I have two sprite, call them A and B. So far, I've been getting A to track B quite simply: get B's position, and if it's X coordinate is greater than A's X coordinate, add A's speed to it's X position. Repeat for and X position less than A's, and Y positions. I also have A pointing where it's going by storing it's old one and setting the rotation using some simple trigonometry. However, now that I've got everything else working, I want to make this a bit more realistic. When B moves quickly from a point left of A to a point right of A, A's angle and movement rapidly jump from pointing and moving bottom-left to bottom-right. I need it to move smoothly. I was thinking of retarding the speed at which A could change it's angle (say, maybe 5 degrees per Update() call), but that wouldn't solve the problem and I'd just end up having A move sideways for a bit. I realize this is a lengthy question and I may not get many answers, but anything you guys could say would help a lot. Thanks!
XNA Movement Physics and Tracking
===

So, I've got a game I'm making and I've run into a snag. I have two sprite, call them A and B. So far, I've been getting A to track B quite simply: get B's position, and if it's X coordinate is greater than A's X coordinate, add A's speed to it's X position. Repeat for and X position less than A's, and Y positions. I also have A pointing where it's going by storing it's old one and setting the rotation using some simple trigonometry. However, now that I've got everything else working, I want to make this a bit more realistic. When B moves quickly from a point left of A to a point right of A, A's angle and movement rapidly jump from pointing and moving bottom-left to bottom-right. I need it to move smoothly. I was thinking of retarding the speed at which A could change it's angle (say, maybe 5 degrees per Update() call), but that wouldn't solve the problem and I'd just end up having A move sideways for a bit. I realize this is a lengthy question and I may not get many answers, but anything you guys could say would help a lot. Thanks!