Darwinbots Forum
Code center => Bugs and fixes => Topic started by: Elite on May 16, 2006, 12:09:41 PM
-
When using both vertical gravity and planet eaters in a non-toridial sim ...
... this happens:
(http://img155.imageshack.us/img155/4692/bug27pj.th.jpg) (http://img155.imageshack.us/my.php?image=bug27pj.jpg)
The vegs fall off the screen into an area below the field
Here is a saved sim demonstrating the odd behavior:
-
It's an artifact from the way collisions with edges work.
A better idea might be to copy over the edge collisions in 2.5. Basically, you multiply the vel.y part by -.9 and project the bot back into the world.