Explorar o código

webgl_loader_md2 should start with an initial animation.

Ben Houston %!s(int64=10) %!d(string=hai) anos
pai
achega
8f2e0f6a64
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      examples/webgl_loader_md2.html

+ 2 - 0
examples/webgl_loader_md2.html

@@ -207,6 +207,8 @@
 					setupWeaponsGUI( character );
 					setupGUIAnimations( character );
 
+					character.setAnimation( character.meshBody.geometry.clips[0].name )
+
 				};
 
 				character.loadParts( config );