Gathering bone data (Ex: foot)
Closed this issue · 1 comments
barisdoga2 commented
I am trying to get foot bone data for physics things frame by frame, but couldnt find any uselfull function for it.
Thanks in advance.
barisdoga2 commented
dragonBones::SFMLArmatureDisplay armatureDisplay("mecha_1004d");
auto bone = armatureDisplay.getArmature()->getBone("foot_r");
auto trans = bone->getBoneData()->transform;
auto pose = bone->animationPose;
I found above functions to get bone data but it doesnt change by frame.