The rule for the greensticks . ac ? 

I see you use 5 greensticks AC files for the creatures. Why ? Can we use
more or less ?
What are the rules ?
And, what about the shapes of these sticks ? I've made some experiments to
change the shapes (with AC3D) but I get some problems with self collisions.
What can we do, and what can't we do ?

Thanks

Forums: 
Szymon Ulatowski's picture

Alain Lioret wrote:
> I see you use 5 greensticks AC files for the creatures. Why ? Can we use
> more or less ?
> What are the rules ?

these 5 files are loaded by the style script, as follows:
(3dobj/standard.style)

function default_joint_build()
{
Element.useJointPart1();
loadAndAddAsTransformNode("greenstick"+(1+4.999*p.as)+".ac");
}

(p.as is the part assimilation - a value between 0.0 and 1.0)
the number 5 is chosen arbitrary - you could change the formula and use
another number of stick models. is is also possible to visualize another
properties instead of the assimilation, for example use different stick
models for different "races" of creatures.

> And, what about the shapes of these sticks ? I've made some experiments to
> change the shapes (with AC3D) but I get some problems with self collisions.
> What can we do, and what can't we do ?

the model shape and anything in the style doesn't influence the
simulation. you can make the sticks look like anything else but they
will still behave like sticks - and perhaps look unrealistic with your
changed stick shape.

sz.