I am trying to implement a "seeking" steering behavior, similar to what is posted at: http://www.red.com/cwr/steer/gdc99/index.html
I guess I just don't understand the math enough to know what I need to implement to get this to work. Right now I calculate a stepping value at each position of the seeking object and target by taking two vectors (targetVec and objVec) and dividing by a number of steps to arrive at the target. ie: (targetVec-objVec)/stepVal But, I am getting a behavior that is more like "arrival" than "seek". Can you explain (possibly with some simple mathematics) what I need to do to implement the seeking behavior found at the page above?
John,
I am trying to implement a "seeking" steering behavior, similar to what is posted at: http://www.red.com/cwr/steer/gdc99/index.html
I guess I just don't understand the math enough to know what I need to implement to get this to work. Right now I calculate a stepping value at each position of the seeking object and target by taking two vectors (targetVec and objVec) and dividing by a number of steps to arrive at the target. ie: (targetVec-objVec)/stepVal But, I am getting a behavior that is more like "arrival" than "seek". Can you explain (possibly with some simple mathematics) what I need to do to implement the seeking behavior found at the page above?