Submitted by Alain Lioret on Fri, 2004-09-03 16:21
I try to use many forms of joints for my creatures:
I try this :
function default_joint_build()
{
Element.useJointPart1();
loadAndAddAsTransformNode("mystick" + (1 + Math.random(5)) + ".ac");
}
But I get some compile errors.
(I've made 5 objects : mystick1.ac ...mystick5.ac and want to use them
randomly)
Can you help me ?
Forums:
Re: How to use differents joints on creatures ?
> function default_joint_build()
> {
> Element.useJointPart1();
> loadAndAddAsTransformNode("mystick" + (1 + Math.random(5)) + ".ac");
> }
>
> But I get some compile errors.
> (I've made 5 objects : mystick1.ac ...mystick5.ac and want to use them
> randomly)
Yes, please see the messages.out file in the Framsticks folder,
and post the relevant messages (compile errors) here.
MacKo
Re: How to use differents joints on creatures ?
Alain Lioret wrote:
> I try to use many forms of joints for my creatures:
> I try this :
>
> function default_joint_build()
> {
> Element.useJointPart1();
> loadAndAddAsTransformNode("mystick" + (1 + Math.random(5)) + ".ac");
> }
>
> But I get some compile errors.
> (I've made 5 objects : mystick1.ac ...mystick5.ac and want to use them
> randomly)
What are the compile errors. In the messages window sometimes there is
more infor in the "!" branch above the "x" branch