Re: stationary obstacle avoidance

jon klein <[email protected]>
Newsgroups gmane.comp.breve
Message-ID <[email protected]>
On Mar 6, 2004, at 11:34 PM, [email protected] wrote:

> Hello,
>
> I'm having difficulty getting mobiles to avoid collisions with 
> stationaries.
>
> toWall = (self get-location) - (item get-location)  this returns the
> distance from 'self' to the centre of 'item', but I need the distance 
> to
> the outer boundary of 'item'.  In this situation, 'item' is a 
> stationary
> object.

There's currently no way to do this automatically -- you'll probably 
have
to use the Stationary's location information in conjunction with some
vector arithmetic and knowledge about the object's shape.

- jon klein

_______________________________________________
breve mailing list
[email protected]
http://www.spiderland.org/mailman/listinfo/breve
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.