@mml-io/3d-web-client-core 0.0.0-experimental-0de38c6-20240518 → 0.0.0-experimental-26809cc-20240518
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.js +18 -16
- package/build/index.js.map +2 -2
- package/package.json +3 -3
package/build/index.js
CHANGED
|
@@ -764,22 +764,24 @@ var _CharacterModel = class _CharacterModel {
|
|
|
764
764
|
}
|
|
765
765
|
async init() {
|
|
766
766
|
await this.loadMainMesh();
|
|
767
|
-
await
|
|
768
|
-
this.
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
this.
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
this.
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
this.
|
|
781
|
-
|
|
782
|
-
|
|
767
|
+
await Promise.all([
|
|
768
|
+
this.setAnimationFromFile(
|
|
769
|
+
this.config.animationConfig.idleAnimationFileUrl,
|
|
770
|
+
0 /* idle */
|
|
771
|
+
),
|
|
772
|
+
this.setAnimationFromFile(
|
|
773
|
+
this.config.animationConfig.jogAnimationFileUrl,
|
|
774
|
+
1 /* walking */
|
|
775
|
+
),
|
|
776
|
+
this.setAnimationFromFile(
|
|
777
|
+
this.config.animationConfig.sprintAnimationFileUrl,
|
|
778
|
+
2 /* running */
|
|
779
|
+
),
|
|
780
|
+
this.setAnimationFromFile(
|
|
781
|
+
this.config.animationConfig.airAnimationFileUrl,
|
|
782
|
+
4 /* air */
|
|
783
|
+
)
|
|
784
|
+
]);
|
|
783
785
|
this.applyCustomMaterials();
|
|
784
786
|
}
|
|
785
787
|
applyCustomMaterials() {
|