فهرست منبع

DynamicBones: clean clone()

lviguier 7 ماه پیش
والد
کامیت
51414c5ec5
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      h3d/scene/Skin.hx

+ 2 - 2
h3d/scene/Skin.hx

@@ -300,8 +300,8 @@ class Skin extends MultiMaterial {
 			if (dynJoint == null) continue;
 
 			var absPos = dynJoint.absPos == null ? currentAbsPose[dynJoint.index] : dynJoint.absPos;
-			var newWorldPos = absPos.getPosition().clone();
-			var expectedPos = absPos.getPosition().clone();
+			var newWorldPos = absPos.getPosition();
+			var expectedPos = absPos.getPosition();
 
 			// Resistance (force resistance)
 			var globalForce = dynJoint.globalForce;