General > Biology
God doesn't play dice
Numsgil:
Okay, this is actually not that hard. It's vectors. I'll be back in a sec with the solution.
PurpleYouko:
Please remember that DarwinBots are NOT Gundams, Godesses or X-wing fighters.
They are single celled creatures living in a pond or petri dish.
I don't think jets of reaction mass particles are quite the direction that the majority of us would like to go in.
No matter how cool it would look to have little jets out the back of a robot as it accelerates.
Incidentally a rocket can't just accelerate in any vector that it wants to. It has to rotate first to face the right way then accelerate in one of a number of specific directions like forward, backward, left and right.
Now where have I seen that before?
I know!
DarwinBots just like it is right now!
:D PY :D
Botsareus:
:( <---- autorepeat,, nm , forget it. the hell with it , yea lets just change up and dx etc. the way shvartz wants it. Who cares? no one cares.
PY well why not make DB's better then even ordinary rockets? they can fase one way and move different ways.
o n,m
Thats how some alien ships in my 3d game will move.
Numsgil:
Okay here it is:
f + c = d * magnitude
where f is the firing vector you want, which is what we're trying to find
c is your current vector defined by <.velup, .veldx>
d is your desired vector, defined by <cos(theta2-theta1), sin(theta2 - theta1)
and magnitude is how fast you want to go in your new direction.
f = d * maginuted - c
so:
.up = sin(theta2 - theta1) * magnitude - .velup
.dx = cos(theta2 - theta1) * magnitude - .veldx
I think that should do it. Don't worry if the math is above your head, it's called rocket science for a reason :P
The only problem, of course, is that DNA doesn't have sin or cos (ahem :rolleyes:)
PurpleYouko:
Hey why don't we fit them with warp drive, photon torpedos and quantum tunnel (wormhole) generators while we are at it?
Maybe one of the food sources should be nuclear fission or maybe anti-matter reactions in a little warp containment field made of a special mixture of .slime and .shell.
Get your proportions wrong and end up with the mother of all POOFs as the resultant explosion rips through the DarwinBots continuum and dumps the poor creatures into tri-dimensional time/space where .up, .dn, .sx and .dx are meaningless constructs so they are rooted to the spot while they wonder what the fuck to do with this extra width dimension that they are suddenly faced with.
:D PY :D
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version