diff options
Diffstat (limited to 'world/src/animation.rs')
-rw-r--r-- | world/src/animation.rs | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/world/src/animation.rs b/world/src/animation.rs index 54ce388..ca049e5 100644 --- a/world/src/animation.rs +++ b/world/src/animation.rs @@ -61,13 +61,14 @@ pub fn import_animation( ReadOutputs::Rotations(iter) => iter .into_f32() .map(Quat::from_array) - .map(|q| rot.mul_quat(q)) + .map(|q| q * rot) .flat_map(|q| q.to_array()) .collect(), - ReadOutputs::Scales(iter) => iter - .flat_map(|[x, y, z]| (t.matrix3 * vec3a(x, y, z)).to_array()) - .collect(), + // ReadOutputs::Scales(iter) => iter + // .flat_map(|[x, y, z]| (t.matrix3 * vec3a(x, y, z)).to_array()) + // .collect(), ReadOutputs::MorphTargetWeights(iter) => iter.into_f32().collect(), + _ => continue, } } else { match reader.read_outputs().unwrap() { |