2
0
Эх сурвалжийг харах

CCDIKSolver: Make `.createHelper()` compatible with generic `SkinnedMesh`. (#24988)

* Update CCDIKSolver.js

`CCDIKSolver.createHelper()` fallbacks to `this.iks` if no MMD

* Update examples/jsm/animation/CCDIKSolver.js

Co-authored-by: Takahiro <[email protected]>

Co-authored-by: Takahiro <[email protected]>
Antoine BERNIER 2 жил өмнө
parent
commit
bb23058464

+ 1 - 1
examples/jsm/animation/CCDIKSolver.js

@@ -217,7 +217,7 @@ class CCDIKSolver {
 	 */
 	createHelper() {
 
-		return new CCDIKHelper( this.mesh, this.mesh.geometry.userData.MMD.iks );
+		return new CCDIKHelper( this.mesh, this.iks );
 
 	}