Targeting function
curry
curry at pair.com
Sun Jun 29 06:14:00 EDT 2003
I have an alien shooting at the player in a game, and I want to let
the alien anticipate where the player is going to be. What's the best
method for finding this?
The input could be gun location, bullet speed, target location,
target direction, and target speed. The output could be bullet
direction or collision point.
I also know this that this type of targeting is a frequent feature in
games, so I assume there should be some snippets around in books or
the internet, but I haven't turned up anything so far.
Thanks,
Curry Kenworthy
More information about the use-livecode
mailing list