Bots and Simulations > DNA - General

How does body mass affect the final speed of a bot?

(1/2) > >>

bacillus:
I'm trying to figure out how to always make a bot go at maximum speed, but do not know how mass affects this, or if it can even be fixed by going beyond terminal velocity (I am assuming .up, .dn, .dx and .sx only supply a force, then f = ma applied, but am not 100% sure.)  

Peksa:
8 .up store will work. I think that'll waste some energy though.

I haven't tested this, but following could work..


--- Code: ---*.vel *.lastspeed !=
*.vel 0 != and
10 .up store
*.veldx .sx store
true
*.vel .lastspeed store
--- End code ---

Numsgil:
There is of course maxvel, which returns the maximum velocity the bot can attain...

Peksa:
Heh, of course. I think I read in an other thread about moving at full speed without maxvel, so I assumed this was about it.

bacillus:
Not exactly what I meant, more thinking if maximum velocity can still be reached if the bot is massive by putting *.maxvel *.body 20 div add .up store or something to that effect.

Navigation

[0] Message Index

[#] Next page

Go to full version