Update leenkx/Sources/leenkx/logicnode/GetBoneTransformNode.hx
This commit is contained in:
parent
37a09d0a21
commit
b8d9ea2aff
@ -26,10 +26,9 @@ class GetBoneTransformNode extends LogicNode {
|
|||||||
// Get bone in armature
|
// Get bone in armature
|
||||||
var bone = anim.getBone(boneName);
|
var bone = anim.getBone(boneName);
|
||||||
|
|
||||||
//return anim.getAbsWorldMat(bone);
|
return anim.getAbsWorldMat(anim.skeletonMats, bone);
|
||||||
return anim.getAbsMat(bone).clone().multmat(object.transform.world);
|
//return anim.getAbsMat(bone).clone().multmat(object.transform.world);
|
||||||
//return anim.getAbsWorldMat(bone);
|
|
||||||
|
|
||||||
#else
|
#else
|
||||||
return null;
|
return null;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user