Welcome To Darwinbots > Newbie

Hello! (and newbie questions)

(1/4) > >>

Lovely Acron:
Hello. I love this sim. I've always found a certain allure towards programming, though I never was able to get good at it. Its still fund to play around with the DNA, even though the results usually are nothing like what I wanted. I have two questions though and I'm horrible at using wikis.

1. How does the physics of this work? I tried to create a simple veggie that would turn at 90 degrees until it found a side that was open, reproduce, tie, repeat. It would kind of work, until a reproduction accidentally hit an existing cell, in which case everything would cause a chain reaction, moving all the cells around. How do I prevent slight nudges from transforming my plants into vicious tornadoes?

2. Since movement is executed first, is there a simple way to work around that and force the wanted order? I can find ways to do it, but they are just duct tape solutions.

EricL:
Hi there and welcome!

1) You might try fixing your bots.  Just have them do:

1 .fixpos store

And they shouldn't get moved when bots knock into them.

2) I'm not sure I understand what you want to do here.  What order of what do you want to force and why?

Lovely Acron:

--- Quote from: EricL ---Hi there and welcome!

1) You might try fixing your bots.  Just have them do:

1 .fixpos store

And they shouldn't get moved when bots knock into them.

2) I'm not sure I understand what you want to do here.  What order of what do you want to force and why?
--- End quote ---

1. Well, that is not exactly what I want. I'd like to be able to move, but I want to stop slight nudges from turning the entire organism into chaos.

2. Well, many things. Like tie to the bot in front of it before it turns, or shoot an enemy before it moves, and so on.

Numsgil:
You can also try to use fixed bot radii.  I think the option is in the general tab in the options window.  It will help reduce issues with different sized bots.

EricL:

--- Quote from: Lovely Acron ---1. Well, that is not exactly what I want. I'd like to be able to move, but I want to stop slight nudges from turning the entire organism into chaos.

2. Well, many things. Like tie to the bot in front of it before it turns, or shoot an enemy before it moves, and so on.
--- End quote ---
You could fix them until your structure is established and the ties harden, then unfix them...

I still don't understand #2.  Are you talking about the order of operations performed by the simulator during a cycle or the order you bot code perfroms operations or something else?  

Navigation

[0] Message Index

[#] Next page

Go to full version