Fred.jar and f0 genotype design 

I have recently picked up Framsticks as a hoby and tried using Fred.jar. I
can't figure out how to rotate the bend muscles to where they move the legs
side to side instead of up and down. (right now my creature just flops
around)
Here's the code the program has written so far:

//0
p:
p: 1.593283, 0.0, -0.043815285
p: 0.7162516, 0.0, -1.6799495
p: 2.9681334, 0.0, 0.23999596
p: -1.3267846, 0.0, 0.8036939
p: 2.057189, 0.0, -1.8767651
p: -0.4301467, 0.0, -1.8595195
j: 1, 0
j: 2, 0
j: 1, 2
j: 1, 3
j: 0, 4
j: 2, 5
j: 2, 6
n: p=2, d="N: "
n: p=2, d="Sin: 1.0"
n: p=2, j=5, d="|: "
n: p=0, j=4, d="|: "
n: p=2, d="Sin: -1.0"
n: p=2, d="N: "
n: p=2, j=6, d="|: "
n: p=1, j=3, d="|: "
c: 0, 1
c: 2, 0
c: 3, 0
c: 5, 4
c: 6, 5
c: 7, 5

Any help is appreciated.

Forums: 
Maciej Komosinski's picture

> I have recently picked up Framsticks as a hoby and tried using Fred.jar. I
> can't figure out how to rotate the bend muscles to where they move the legs
> side to side instead of up and down. (right now my creature just flops
> around)

Hello,

You need to use rx,ry,rz (see the f0 documentation).
These parameters are used to rotate local coordinate systems
of parts, and this influences planes and axes muscles work on.

By default, the | muscle rotates around Z, and @ muscle
rotates around X.

Unfortunately, rotating parts using rx,ry,rz may not
be properly visualized: you will see that muscles work
in a different way, but they may still be displayed in
their original orientation.

The OpenGL "standard-xyz" style is helpful to display
local coordinate systems as arrows. You can do it in
Framsticks GUI, or use the theater app like this:

theater -g -vaxes=1 cccXXX