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