General > Biology
God doesn't play dice
Botsareus:
Well I have talked about another collision method that works without momentum. The friction increase for each bot being "dragged" method.
Basicaly with each new bot being pushed the speed is / 2
If you push 4 more bots your speed is "speed / 16"
(I am using it in PusherBots.vbp , works great) Do you like this collision method shvartz?
***
Well Num if that is supposed to be Acceleration, (forgive the languge) it sure sux. Maybe I am doing somthing wrong with the settings? I dont see no acceleration...
Numsgil:
What do you mean you see no acceleration? You mean in the algorithm I posted or when you have number .up store?
My thinking: I'm going to see if I can rework how friction is handled. If it's applied and then new accelerations happen, we can have an absolute friction sim without it immobilizing the bots.
Hey Bots, post your pusherbots code in another thread in the general board. I'm sure we'd all love to look at it.
Botsareus:
when I have "number up store". Acceleration = Gradual increase of speed.
Acceleration <!> Speed is set and remains on value n
Acceleration only stops Accelerating when thouse things reach there absolute vilosity.
Numsgil:
That's not what the bots are doing.
In DB: when you store to .up you are creating an impulse. Impulse = "Physics. The product obtained by multiplying the average value of a force by the time during which it acts. The impulse equals the change in momentum produced by the force in this time interval."
This impluse causes a change in acceleration. Then .up is set back to 0 waiting for you to activate it again.
Think of the bots like this:
Each bot is a rocket ship. When it maneuvers, it does so by short explosions that push it along (little a-bombs that explode against a blasting plate). This results in a jerky accelerations, not a 'gradual increase in speed' at all.
If you want to keep accelerating at a constant value, you can program it in the DNA.
Botsareus:
http://s9.invisionfree.com/DarwinBots_Foru...ndpost&p=283764
Thats pusher bots stuff I was talking about.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version