A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Simulating chasing an object

  1. #1
    Senior Member chi-styler's Avatar
    Join Date
    Jul 2001
    Location
    Bristol, UK
    Posts
    1,237

    Simulating chasing an object

    Hi all,

    I'm looking to implement this into a little game I'm working on - effectively it involves the AI chasing a ball, something like this (top-down view)



    So, say the ball is travelling in that direction at a rate of 5 and that's slowing at a certain rate. The blue guy has a maximum speed and needs to pick up the ball at the optimal (quickest for him to reach) point on the balls' path.

    My math's isn't too shabby normally, but I'm a bit stuck as to where to start on this, as I'd like to get it as realistic as possible. Anyone have any suggestions for how to start going about this?
    Last edited by chi-styler; 05-06-2005 at 08:26 AM.

  2. #2
    Flasher_man
    Join Date
    Jul 2003
    Location
    USA
    Posts
    49

    Complexity?

    I wasnt sure how complex u need it so i made this simple thing
    lemme know i may be able to make some thing more with angle instead of just following ;P
    Attached Files Attached Files
    ;p

  3. #3
    the friendly canadian DaVulf's Avatar
    Join Date
    Feb 2004
    Location
    Singapore
    Posts
    2,017
    Also, Liquidjourney.com has this sort of thing in the AI section.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center