mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-04 17:38:10 +00:00
Character Engine: Convert to threejs seconds
This commit is contained in:
1 parent
42b8a1471c
commit
b76abf8fff
1 file changed
+1
-1
@@ -94,7 +94,7 @@ export class CharacterAnimationEngine {
|
||||
|
||||
const animationAction = mixer.clipAction(animationTrack);
|
||||
animationAction.play();
|
||||
mixer.setTime(clipTime);
|
||||
mixer.setTime(clipTime / 1000);
|
||||
}
|
||||
|
||||
/** Evaluate all character animations at a given timestamp (milliseconds) */
|
||||
|
||||
Reference in new issue
Block a user