[x3d-public] HAnim X3DJSAIL question. Adding joint to humanoid.

John Carlson yottzumm at gmail.com
Fri Mar 16 21:41:09 PDT 2018


HAnimHumanoid14.addSkin(HAnimJoint15)

What is the correct method for adding a joint to a humanoid?  Source not attached because of size.    There may not be a way to do this in X3D 3.3.  I am not sure.  I will get around to checking the object model eventually, but if anyone knows without looking.  It probably has something to do with the field the joint goes in, like skin, etc.


John


$ python NancyNativeTags.py
Traceback (most recent call last):
  File "NancyNativeTags.py", line 624, in <module>
    HAnimHumanoid14.addSkin(HAnimJoint15)
  File "jnius\jnius_export_class.pxi", line 906, in jnius.JavaMultipleMethod.__call__ (jnius\jnius.c:29116)
  File "jnius\jnius_export_class.pxi", line 638, in jnius.JavaMethod.__call__ (jnius\jnius.c:25527)
  File "jnius\jnius_export_class.pxi", line 715, in jnius.JavaMethod.call_method (jnius\jnius.c:26510)
  File "jnius\jnius_utils.pxi", line 93, in jnius.check_exception (jnius\jnius.c:4618)
jnius.JavaException: JVM exception occurred: X3DNode newValue is not instanceof acceptableNodeTypes Group|Transform|Shape|IndexedFaceSet; newValue=org.web3d.x3d.jsail.HAnim.HAnimJointObject at 24111ef1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20180317/6c17d67c/attachment.html>


More information about the x3d-public mailing list