Author Topic: robsize  (Read 3486 times)

Offline ikke

  • Bot Destroyer
  • ***
  • Posts: 300
    • View Profile
robsize
« on: December 01, 2008, 09:56:49 AM »
Does the parameter Robsize in the code euqate to body in the program?

Offline Numsgil

  • Administrator
  • Bot God
  • *****
  • Posts: 7742
    • View Profile
robsize
« Reply #1 on: December 01, 2008, 02:01:53 PM »
No, I don't think so.  It might be a hard coded constant, set to 120.  If it's a member variable, it represents the diameter (radius?) of the bot.

Offline abyaly

  • Bot Destroyer
  • ***
  • Posts: 363
    • View Profile
robsize
« Reply #2 on: December 03, 2008, 07:47:27 PM »
*.robsize is always 120, because the size of a robot used to be constant and the variable wasn't changed when robot size became variable. If you want to calculate the size of a robot based on body, there is a formula floating around here somewhere involving cube roots.
Lancre operated on the feudal system, which was to say, everyone feuded all
the time and handed on the fight to their descendants.
        -- (Terry Pratchett, Carpe Jugulum)

Offline bacillus

  • Bot Overlord
  • ****
  • Posts: 907
    • View Profile
robsize
« Reply #3 on: December 03, 2008, 09:12:51 PM »
cuberoot(0.75mass/pi)?
Just a guess, calculates radius from volume of bot.
"They laughed at Columbus, they laughed at Fulton, they laughed at the Wright brothers. But they also laughed at Bozo the Clown."
- Carl Sagan