![]() integer, 0 .. 1 (false/true) default=1 |
Body simulation Enable/disable physical body simulation. This is the initial value of Creature.bodysim for all objects created in this group. For details, see the documentation of Creature.bodysim. |
![]() integer, 0 .. 65535 default=0 |
Collision mask (deprecated) DEPRECATED. You should use selfmask and othermask (these masks are also much easier to understand than the old colmask field). |
![]() integer, 0 .. 1 (false/true) default=1 |
Death Do creatures die when no energy? |
![]() float, 0 .. 1 default=0 |
Muscle dynamic work Energy requirements for a muscle |
![]() float, 0 .. 1 default=0 |
Muscle static work Energy requirements for a muscle |
![]() float, 0 .. 1 default=0 |
Assimilation productivity Maximal energy gain produced by a vertical specialized stick. |
![]() integer, 0 .. 2 |
Performance calculation Stabilization means no significant movement during a specified period of time. |
![]() integer, 0 .. 1 (false/true) default=1 |
Energy calculation If turned off, creature's energy will be constant |
![]() integer |
group index |
![]() integer, 0 .. 10000000 default=1000000 |
Kill if no stabilization after Creatures that fail to stabilize after the specified waiting period (e.g. because they are continuously rolling) will be killed. 0 disables this feature. |
![]() string |
Group name |
![]() integer, 0 .. 2 |
Neural net simulation Stabilization means no significant movement during a specified period of time. |
![]() integer, 0 .. 2147483647 default=0 |
Collision mask (other) See selfmask. |
![]() integer, 0 .. 1000000 default=100 |
Performance sampling period Defines how often onUpdate() events are called. Also used to compute partial performance of creatures (distance, speed, etc.) and to determine stabilization. |
![]() integer, 0 .. 1 (false/true) default=0 |
Detect self-collisions Detect collisions within creature bodies (only applicable for the ODE simulation engine). This is the initial value of Creature.selfcol for all objects created in this group. If enabled, creatures with self-colliding genotypes are not born, and others will have their sticks collide during lifespan. |
![]() integer, 0 .. 2147483647 default=0 |
Collision mask (self) Collisions between objects can be handled in two ways: |
![]() integer |
Number of creatures |
![]() integer, 0 .. 1000000 default=100 |
Sampling period while waiting "Performance sampling period" for the stabilization phase. |
![]() float, 0 .. 1 default=0.01 |
Allowed distance to be stable A creature is considered stabilized when its center of gravity stays within the specified distance after the "Sampling period while waiting" has elapsed. |
![]() returns Creature |
function createFromGeno(Geno) uses the supplied Geno object |
![]() returns Creature |
function createFromGenotype() uses the selected Genotype object |
![]() returns Creature |
function createFromString(string genotype) uses the supplied string argument |
![]() doesn't return a value |
function delete(integer creature_index) delete creature |
![]() returns Creature |
function findCreatureAt(Vector point, Vector vector) |
![]() returns integer |
find creature by UID function findUID(string uid) |
![]() returns Creature |
get creature object function get(integer index) |
![]() doesn't return a value |
function kill(integer creature_index) kill creature |
![]() returns float |
senseCreaturesProperty function senseCreaturesProperty(float x, float y, float z, string propertyname, Creature exclude) arguments: |
Global context |