World class in Visual style definition

Environment properties.

10 members:

float nnspeed
float, 0 .. 1000
default=1

NN speed

Number of neural network simulation steps in each physics simulation step

object signals

Signal sources

integer simtype
integer, 0 .. 1
  • 0 = MechaStick (default)
  • 1 = ODE
  • Simulation engine

    MechaStick is a fast and simple primary Framsticks simulation engine.
    ODE is Open Dynamics Engine by Russel Smith et al.

    NOTE: switching between simulation engines causes removal of all objects in the world (e.g. creatures).

    integer wrldbnd
    integer, 0 .. 2
  • 0 = None
  • 1 = Fence (default)
  • 2 = Teleport
  • Boundaries

    float wrldg
    float, 0 .. 10
    default=1

    Gravity

    You can adjust gravity for your experiments.
    The "official" setting used to evaluate and compare creatures is 1.

    string wrldmap
    multiline string

    Map

    Description of the world (Type: Blocks or Heighfield). Enter
    r <sizex> <sizey> [seed]
    to generate a random landscape, or
    m <sizex> <sizey> digits
    M <sizex> <sizey> numbers
    to provide height values.

    See also the WorldMap object.

    float wrldsiz
    float, 10 .. 1000
    default=20

    Size

    Side length of the world

    integer wrldtyp
    integer, 0 .. 2
  • 0 = Flat surface (default)
  • 1 = Blocks
  • 2 = Height field
  • Type

    float wrldwat
    float, -20 .. 30
    default=-1

    Water level

    function wrldchg
    doesn't return a value

    Trigger world update

    function wrldchg()

    Global context>>Experiment definition>>Visual style definition