Reply to Re: Making sprites avoid each other
If you don't have an account, just leave the password field blank.
You can use most any direction actually, by using sp_mx() and sp_my(). I think Someone used this extensively in his d-mod that uses mouse control. I myself have only used it for missiles.
Anyway, you would indeed need something like what Fireball said, but that still wouldn't be enough. Just a random point within a 180 field would eventually lead to the sprite getting caught due to bad luck. To be superprecise you need to project a point along an axis between the two sprites involved to maximize the distance they keep between each other, if you know what I mean.
Anyway, you would indeed need something like what Fireball said, but that still wouldn't be enough. Just a random point within a 180 field would eventually lead to the sprite getting caught due to bad luck. To be superprecise you need to project a point along an axis between the two sprites involved to maximize the distance they keep between each other, if you know what I mean.