fix dynamic bone animations

This commit is contained in:
Nick Fisher
2023-04-28 20:53:16 +08:00
parent 62c4be0563
commit bbb3cb5727
13 changed files with 170 additions and 130 deletions

View File

@@ -214,9 +214,10 @@ class _MyAppState extends State<MyApp> with SingleTickerProviderStateMixin {
return vals;
}).toList());
_filamentController.setBoneAnimation(_cube!, [
BoneAnimationData("Bone.001", "Cube.001", frameData, 1000.0 / 60.0)
]);
_filamentController.setBoneAnimation(
_cube!,
BoneAnimationData(
"Bone.001", ["Cube.001"], frameData, 1000.0 / 60.0));
// ,
// "Bone.001",
// "Cube.001",