Forgot your password?
typodupeerror

Comment Seeking Behavior and Forward Euler Integration (Score 1) 605

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?

Slashdot Top Deals

It isn't easy being the parent of a six-year-old. However, it's a pretty small price to pay for having somebody around the house who understands computers.

Working...