Re: 2 vehicles

jon klein <[email protected]> Fri, 15 Apr 2005 23:04:58 -0400
Newsgroups gmane.comp.breve
Message-ID <[email protected]>
On Apr 15, 2005, at 6:08 PM, Cavan Fyans wrote:

> hi,
>
> i posted a couple days ago about creating 2 braitenberg vehicles, and
> when i run the simulation with both veichles it crashes. I am new to
> breve...my code is linked below, so you can see exactly what im doing,
> i expect im simply doing this the wrong way as i am new to
> breve....but any help is great!

Hi,
since you haven't moved either of the vehicles, they're both being
created right on top of each other.  This is causing lots of collisions
and makes the physics engine unhappy!

The simulation works properly if you move one of the vehicles to a
different starting location.  Try adding this line after setting up
vehicle1:

vehicle1 move to (0, 5, 10).

- jon

_______________________________________________
breve mailing list
[email protected]
http://lists.spiderland.org/mailman/listinfo/breve