Code center > Darwinbots Program Source Code
concerning leagues
Griz:
--- Quote ---Bouyancy is in 2.4, but not so directly.
Boyancy in 2.4 is a function of the density of the liquid around a bot and how much if it he is displacing. Later on I was going to add a way to build "float sacs" that increase volume without increasing density all that much.
--- End quote ---
ah ... I like it ...
having been a submariner at one time.
are you also thinking of having density vary with 'pond depth'?
and as a function of the 'fluid' ... thick or thin?
interesting.
but why build 'float sacs'?
simply allow a bot to alter it's own density.
perhaps you were going to already have a bot density ...
and perhaps have it change along with body size ... I don't know.
anyway ...
always a good rule ...
to whenever possible ...
simplify, simplify, simplify.
that ...
and troubleshooting by altering only one variable at a time.
things are complicated enough on their own. ;)
~griz~
Numsgil:
Well, bots currently have a radius and a mass. Density is easy enough to construct from that (mass / (4/3 PI radius ^ 3)).
Currently, body is the only substance that effects bot volume and thus radius. Shell and body are the only things that effect mass.
So presently a bot can increase it's density by building lots of shell, but there really isn't a way to decrease it's density along the same lines.
That's what I invisioned float sacs for. float sacs would be massless bubbles that increase volume without increasing mass.
Also, in physics, all forces operate on added mass, which is a property I can only find alluded to in several places, so I may be off with it.
Basically added mass means that for an object in a liquid to move, it must accelerate itself and an equivelant volume of liquid it's displacing (that it must displace to move forwards and replace behind it as it leaves).
As far as I know, isn't liquid incompressible? Gasses are compressible, so density changes with depth, but I think things like water have a constant density at all depths.
So Maybe you could set wether the big blue field is a fluid or solid, and if it's a fluid wether it's a liquid or a gas?
Pressure, on the other hand, does indeed vary with depth. Should we make an "implosion/explosion" threshold that bots explode/implode at if the pressure differential becomes too great?
Though I'm not so sure that's applicable since theoretically the bots' membranes are premeable to the fluid they're in.
Botsareus:
You all know what I am waiting for...
Botsareus:
Num, I think its better to release a new virsion of 2.37, because you may or may not have changed some of the code I wrote bug fixes for...
Numsgil:
I can't worry about more than one version at once. If someone wants to debug 2.37, more power to them, but I don't have the time or mental ability to keep track of two seperate versions...
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version