Просмотр исходного кода

webgl_loader_md2 should start with an initial animation.

Ben Houston 10 лет назад
Родитель
Сommit
8f2e0f6a64
1 измененных файлов с 2 добавлено и 0 удалено
  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 );