Joint.addChild(Object3D)

Started by AGP, October 01, 2014, 08:49:03 PM

Previous topic - Next topic

raft

Please try the following jar:
http://aptalkarga.com/bones/bones_tmp.jar

if joint has a name, corresponding joint object in SkeletonDebugger will have that name. o/w it will be named as joint_[index]. bone objects are named as [parent joint's name] -> [joint's name]


AGP

I appreciate it, pal. Thanks. But do I have to re-export my models, now (see below)?

Quote
File? Yes. Success? No: Version mismatch. Current version: 4, stream version: 3
Exception in thread "main" java.lang.NullPointerException
        at Hero.<init>(Hero.java:27)
        at RPG3D.loadModels(RPG3D.java:673)
        at RPG3D.<init>(RPG3D.java:115)
        at RPG3D.main(RPG3D.java:1013)

raft

your exception is not Bones related as stack trace has no Bones class ;)

but right, I had increased the internal stream version to 4 as mentioned in first line. you dont need to re-export your models but convert them from Ogre format to Bones' binary format again.

AGP

I will, then, but line 27 is SkinClipSequence clipSequence = model.getSkinClipSequence();

raft

possibly you couldnt loaded the model because Bones had thrown an IOException complaining about version mismatch, you caught the exception then tried to access to model and had an NPE

AGP