bodysim
integer, 0 .. 1 (false/true) default=1 |
Body simulation (Physical) body simulation can be disabled for individual objects which makes them immovable. Disabled objects can still participate in collisions depending on their collisions masks. |
buildproblems
integer |
Build problems |
c_velocity
float |
Velocity |
c_vertpos
float |
Vertical position |
c_vertvelocity
float |
Vertical velocity |
center_x
float |
center.x Center of gravity |
center_y
float |
center.y Center of gravity |
center_z
float |
center.z Center of gravity |
distance
float |
Distance |
drive
|
Enforce constant speed |
energ0
float |
Starting energy |
energy
float |
Energy |
energy_b
float |
Energy balance |
energy_m
float |
Energy costs |
energy_p
float |
Energy income |
geno
|
genotype Source genotype for this creature |
genotype
multiline string |
Genotype |
gnum
integer |
Generation |
group
untyped |
group |
idleen
float |
Idle power consumption |
index
integer |
Index Index of this Creature in its Population. |
info
multiline string |
Info Additional info or comments |
lifespan
integer |
Life span |
liveModel
|
current model A Model object that is a copy of the current (temporary) geometry of this creature |
localDrive
|
Enforce constant speed (in local coordinates) |
model
|
source model Source Model for this creature |
name
string |
Name |
nnenabled
integer, 0 .. 1 (false/true) |
NN enabled |
numjoints
integer |
number of joints |
numneurons
integer |
number of neurons |
numparts
integer |
number of parts |
orient
|
orientation by convention the creature orientation is equal to its first part orientation |
othermask
integer, 0 .. 2147483647 default=0 |
Collision mask (other) |
perf
integer, 0 .. 2 |
Performance calculation Initial value of this property is taken from Population.enableperf |
pos_x
float |
position.x (pos_x,pos_y,pos_z) is the point of minimal coordinates ("bottom left corner") of the creature, including imaginary Part sizes (Part.s, usually 1.0). See also: Creature.moveAbs |
pos_y
float |
position.y See Creature.pos_x |
pos_z
float |
position.z See Creature.pos_x |
selfcol
integer, 0 .. 1 (false/true) |
Self-collisions Enable/disable detection of self-collisions (within a creature body). They can only occur when using the ODE simulation engine. If enabled, the creature will have its sticks collide during lifespan. |
selfcolstate
integer, 0 .. 1 (false/true) |
Self-collisions Current self-collision state |
selfmask
integer, 0 .. 2147483647 default=0 |
Collision mask (self) |
signals
|
Signal sources |
size_x
float |
bounding box x size (size_x,size_y,size_z) are dimensions of the axis-aligned bounding box of the creature, including the imaginary part sizes (Part.s, usually 1.0). A creature consisting of a single default part has the size of (2.0,2.0,2.0) - twice the Part.s value (like a sphere diameter is twice its radius). |
size_y
float |
bounding box y size See Creature.size_x |
size_z
float |
bounding box z size See Creature.size_x |
uid
string |
# |
user1
untyped |
User field 1 |
user2
untyped |
User field 2 |
user3
untyped |
User field 3 |
velocity
float |
Avg. velocity |
vertpos
float |
Avg. vertical position |
vertvel
float |
Avg. vertical velocity |
currentGeometryAsF0
returns string |
currentGeometryAsF0 function currentGeometryAsF0() |
getJoint
returns Joint |
getJoint (static Model information) function getJoint(integer index) |
getMechJoint
returns MechJoint |
getMechJoint (current properties) function getMechJoint(integer index) |
getMechPart
returns MechPart |
getMechPart (current properties) function getMechPart(integer index) |
getNeuro
returns Neuro |
getNeuro function getNeuro(integer index) |
getNeuroDef
returns NeuroDef |
getNeuroDef function getNeuroDef(integer index) |
getPart
returns Part |
getPart (static Model information) function getPart(integer index) |
localToWorld
returns XYZ |
return world coordinates function localToWorld(float x, float y, float z) |
move
doesn't return a value |
move function move(float x, float y, float z)Shift the creature by a given vector. |
moveAbs
doesn't return a value |
move to absolute location function moveAbs(float x, float y, float z)Moves the creature so that its origin (pos_x,pos_y,pos_z) is placed at the given location. The origin is the point of minimal coordinates ("bottom left corner"), including imaginary part sizes (Part.s, usually 1.0). |
moveLocal
doesn't return a value |
move in local coordinates function moveLocal(float x, float y, float z) |
rotate
doesn't return a value |
rotate function rotate(float x, float y, float z)Rotate the creature around X, Y and Z axes. Should only be used immediately after creating a new creature (before the first simulation step is performed for this creature), otherwise the further simulation could be disturbed. |
rotateLocal
doesn't return a value |
rotate in local coordinates function rotateLocal(float x, float y, float z)Rotate the creature around (local) X, Y and Z axes. Should only be used immediately after creating a new creature (before the first simulation step is performed for this creature), otherwise the further simulation could be disturbed. |
worldToLocal
returns XYZ |
return local coordinates function worldToLocal(float x, float y, float z) |
| Global context |