Browse Source

adjust foot offset

sunag 7 years ago
parent
commit
ece6427e1c
1 changed files with 14 additions and 0 deletions
  1. 14 0
      examples/webgl_loader_sea3d_bvh.html

+ 14 - 0
examples/webgl_loader_sea3d_bvh.html

@@ -154,6 +154,20 @@
 								THREE.Math.degToRad( 45 ),
 								THREE.Math.degToRad( 45 ),
 								THREE.Math.degToRad( 80 )
 								THREE.Math.degToRad( 80 )
 							)
 							)
+						),
+						"lFoot": new THREE.Matrix4().makeRotationFromEuler(
+							new THREE.Euler(
+								0,
+								THREE.Math.degToRad( 15 ),
+								0
+							)
+						),
+						"rFoot": new THREE.Matrix4().makeRotationFromEuler(
+							new THREE.Euler(
+								0,
+								THREE.Math.degToRad( 15 ),
+								0
+							)
 						)
 						)
 					}
 					}
 				} );
 				} );