Dumb Blocks - QuirkyCort/gears GitHub Wiki

There are 3 types of dumb blocks; box, cylinder, and sphere. These blocks will have a physical body (ie. it can collide with other objects), and that's pretty much it.

You can set the color in hexadecimal Red, Green, Blue, Alpha format. If Alpha is omitted, it'll be set to "FF" (fully opaque). You may also use the three or four digits shorthand notation. The hash ("#") at the start of the hexadecimal string is optional. Example: "FF0000" (...this is a bright red color).

Configurations

Default values are shown below.

"type": "Box",
"options": {
  "height": 1,
  "width": 1,
  "depth": 1,
  "color": "A3CF0D"
}
"type": "Cylinder",
"options": {
  "height": 1,
  "diameter": 1,
  "color": "A3CF0D"
}
"type": "Sphere",
"options": {
  "diameter": 1,
  "color": "A3CF0D"
}