Bones - Skeletal and Pose Animations for jPCT/jPCT-AE > Bones
Bones joint rotate but mesh doesn`t update
Carlos Mateo:
Hello
I'm working with Bones and I'm using a model with bones I exported from Blender. When I use it in Bones I can see I rotate the bones within the skeletonDebugger. My problem is that the mesh doesn,t update its position.
Thanks in advance
raft:
check ProceduralAnimationSample.
possibly you are missing one of the following steps:
--- Code: ---currentPose.updateTransforms();
skeletonDebugger.update(currentPose); // only for debugging
animatedGroup.applySkeletonPose();
animatedGroup.applyAnimation();
--- End code ---
Carlos Mateo:
Thanks I have use it, put I have a problem because when I use applySkeletonPose(), the app stops with the following error:
java.lang.ArrayIndexOutOfBoundsException: length=265; index=-1
at raft.jpct.bones.Animated3D.applySkeletonPose(Animated3D.java:511)
at raft.jpct.bones.AnimatedGroup.applySkeletonPose(AnimatedGroup.java:191)
Why does it appear??
Thanks
raft:
are you using last version? I've updated Bones last time at 3 January.
and may there be any chance your skeleton has more than 255 joints?
Carlos Mateo:
I'm using the previous version and yes, it has 265 joints. Is it the problem? How can I solve it?
Navigation
[0] Message Index
[#] Next page
Go to full version