hey, i have been trying to run samples of bones. all of them running quiete good. but when i try to use another 3d model, some exceptions are thrown.
Exception in thread "main" java.lang.IllegalArgumentException: parent index should be less than joint index. o/w a joint array cannot be ordered such that parent comes first
at raft.jpct.bones.Joint.<init>(Joint.java:36)
at raft.jpct.bones.BonesImporter.convertJMEJoint(BonesImporter.java:359)
at raft.jpct.bones.BonesImporter.convertJMESkeleton(BonesImporter.java:332)
at raft.jpct.bones.BonesImporter.importOgre(BonesImporter.java:151)
at raft.jpct.bones.util.JMEOgreImporter.loadGroup(JMEOgreImporter.java:93)
at raft.jpct.bones.util.JMEOgreImporter.loadGroup(JMEOgreImporter.java:77)
at raft.jpct.bones.util.JMEOgreImporter.run(JMEOgreImporter.java:58)
at Converter.main(Converter.java:24)
im using blender to create animations, and ogre mesh export plugin to export them as mesh xmls.
i tried more than 5 different models, but i couldnt succeed.
hope one of you help me. thanks.