I try to say that I don't use frameBuffer.display();
in my code, but when I run my application the model is visible O.o Why does it works without display() ?
Skeleton isn't something that you're supposed to see. One way or another, you need frameBuffer.display(). Here's what you could do:
Ok, SkeletonDebugger help me to visually represent a SkeletonPose, but i thought If I did this :
currentPose = modello.get(0).getSkeletonPose();
skeletonDebugger = new SkeletonDebugger(currentPose);
skeletonDebugger.setVisibility(true);
skeletonDebugger.addToWorld(world);
the skeleton would be visible .
But AGP told me that I have to use something like this code :
public SimpleVector getJointPosition(Joint joint) {
SimpleVector location = skeletonPose.getGlobal(joint.getIndex()).getTranslation();
location.matMul(model.get(0).getWorldTransformation());
return location;
}