Darwinbots Forum

Welcome To Darwinbots => Newbie => Topic started by: SlyStalker on March 11, 2013, 02:46:39 AM

Title: The relationship between mass/body and particle shots (-1 and -6)
Post by: SlyStalker on March 11, 2013, 02:46:39 AM
is there a connection between body size and the strength of the particle shots that the bots fire?
Title: Re: The relationship between mass/body and particle shots (-1 and -6)
Post by: Tilthanseco on March 11, 2013, 01:07:07 PM
Yes, more body will increase the power and range of shots. I couldn't find the exact formula but I would guess it is logarithmic:   power ~ K*log(body).
Another way to increase power is to store positive numbers in .shootval
To increase range, store negative numbers in .shootval

http://wiki.darwinbots.com/w/.shootval (http://wiki.darwinbots.com/w/.shootval)


Title: Re: The relationship between mass/body and particle shots (-1 and -6)
Post by: SlyStalker on March 11, 2013, 10:26:52 PM
Hmm, interesting article... very informative! Thanks!