[enchancement] Separate body from world.
skriegman opened this issue · comments
Sam Kriegman commented
Create an <Env>
and <Body>
which are combined with logical OR to give <Data>
.
<Body>
is nested within an <Env>
by shifting its <BodyCoordinates>
.
Then it is trivial to generalize the specific methods I implemented in dev-growth for env.reset
, body.reset
, body.remove
.
Of course multiple contiguous geometries, separated by zeroes, can still exist within <Body>
. Or the multi-body matrices could be supplanted by a mechanism that draws single body .vxd
files out of a directory and combines them in a swarm within an <Env>
.
Multiple <Env>
would be useful. They should be stored in a single .vxa
if they are not coevolved.