Skip to content

Commit

Permalink
Merge pull request #3122 from t3du/fixGetBoneTransform
Browse files Browse the repository at this point in the history
Fix GetBoneTransformNode: incorrect transform returned
  • Loading branch information
luboslenco authored Jan 5, 2025
2 parents fee3417 + 172b0e7 commit ffb7730
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions armory/Sources/armory/logicnode/GetBoneTransformNode.hx
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ class GetBoneTransformNode extends LogicNode {
// Get bone in armature
var bone = anim.getBone(boneName);

return anim.getAbsWorldMat(bone);

//return anim.getAbsWorldMat(bone);
return anim.getAbsMat(bone).clone().multmat(object.transform.world);

#else
return null;

Expand Down

0 comments on commit ffb7730

Please sign in to comment.