[x3d-public] question re X3D Java SAI, HAnimJoint contain Switch?

Don Brutzman brutzman at nps.edu
Tue Jan 3 15:03:32 PST 2017


cc: h-anim

this file has a meta warning that it has illegal structure, but an interesting effect results anyway, and so it was retained for possible further insights.

HAnim nodes have many structural restrictions, not all of which may be enforced by the SAI API or even schema...

meanwhile, in general, since Switch is an X3DChildNode then yes it would be addChildren method that is ordinarily used to add it.

On 1/3/2017 11:16 AM, yottzumm at gmail.com wrote:
> Are HAnimJoint’s allowed to contain switches, and if so, should the method be addChildren?
>
>
>
>
>
> examples\Basic\HumanoidAnimation\AllenDuttonBlurryMotion.java:761: error: cannot find symbol
>
>                 HAnimJoint0_2_1_0.addSwitch(Switch0_2_1_0_4);
>
>                                  ^
>
>   symbol:   method addSwitch(SwitchObject)
>
>   location: variable HAnimJoint0_2_1_0 of type HAnimJointObject
>
> 1 error
>


all the best, Don
-- 
Don Brutzman  Naval Postgraduate School, Code USW/Br       brutzman at nps.edu
Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA   +1.831.656.2149
X3D graphics, virtual worlds, navy robotics http://faculty.nps.edu/brutzman



More information about the x3d-public mailing list