@pmndrs/viverse 0.1.13 → 0.1.14

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.
@@ -1,5 +1,5 @@
1
1
  import { VRM, VRMUtils } from '@pixiv/three-vrm';
2
- import { action, animationFinished, build, timePassed, forever, parallel, graph, } from '@pmndrs/timeline';
2
+ import { action, animationFinished, start, timePassed, forever, parallel, graph, } from '@pmndrs/timeline';
3
3
  import { AnimationMixer, Euler, Group, LoopOnce, Quaternion, Vector3, } from 'three';
4
4
  import { simpleCharacterAnimationNames, getSimpleCharacterModelAnimationOptions as getSimpleCharacterModelAnimationOptions, loadCharacterModelAnimation as loadCharacterModelAnimation, } from './animation/index.js';
5
5
  import { SimpleCharacterCameraBehavior } from './camera.js';
@@ -310,7 +310,7 @@ export class SimpleCharacter extends Group {
310
310
  this.actions.jumpForward.loop = LoopOnce;
311
311
  this.actions.jumpForward.clampWhenFinished = true;
312
312
  }
313
- this.updateTimeline = build(SimpleCharacterTimeline(camera, this));
313
+ this.updateTimeline = start(SimpleCharacterTimeline(camera, this));
314
314
  this.dispatchEvent({ type: 'loaded' });
315
315
  }
316
316
  update(delta) {
package/package.json CHANGED
@@ -21,12 +21,12 @@
21
21
  "peerDependencies": {
22
22
  "three": "*"
23
23
  },
24
- "version": "0.1.13",
24
+ "version": "0.1.14",
25
25
  "type": "module",
26
26
  "dependencies": {
27
27
  "@pixiv/three-vrm": "^3.4.2",
28
28
  "@pixiv/three-vrm-animation": "^3.4.2",
29
- "@pmndrs/timeline": "^0.1.10",
29
+ "@pmndrs/timeline": "^0.1.15",
30
30
  "@viverse/sdk": "1.2.10-alpha.0",
31
31
  "three-mesh-bvh": "^0.9.1"
32
32
  },