onBorn() message 

Hello,

I'm getting the following error while running simulations:

onBorn() could not avoid collisions

I know it has something to do with an invalid creature build, and I already turned on the 'Fail on warnings' option. Is it normal to get this error? If so, is there any way to prevent getting the message? Because I have a feeling that it slows down Framsticks. When I start Framsticks, load the genepool and the simulator parameters and run it in F9 mode, it calculates around 12000 steps per second and it gets significantly less after a while (2000 - 3000 steps per second). If I then save the genepool, restart Framsticks and load the same genepool and parameters, it runs at 12000 steps per second again.

Forums: 
Maciej Komosinski's picture

When creatures are born, the standard.expdef script tries to place the newborn creature in a free place, where it does not collide with other existing creatures. It tries 10 different places, and then gives up and displays this message.

This is nothing serious, it just indicates that your world is too small for as many as big creatures as you are simulating. It may also mean that the creature will take more time to stabilize (as long as others are touching/moving it, and you have 'wait for stabilize' option turned on).

I increased the worldsize and it seems fine now :)

Thanks for the quick reply by the way.