Explorar o código

adjust foot offset

sunag %!s(int64=7) %!d(string=hai) anos
pai
achega
ece6427e1c
Modificáronse 1 ficheiros con 14 adicións e 0 borrados
  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( 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
+							)
 						)
 					}
 				} );