From 46f571f99a508310343d6ce51d8a6e03b23aca18 Mon Sep 17 00:00:00 2001 From: jshipsey Date: Sat, 20 Apr 2019 18:08:56 -0400 Subject: [PATCH] animation minor fixes Former-commit-id: 4326db41103a0d3f87c7ad638fb38cd2f3eec71c --- voxygen/src/anim/character/run.rs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/voxygen/src/anim/character/run.rs b/voxygen/src/anim/character/run.rs index 08b7838d7a..8db66c439d 100644 --- a/voxygen/src/anim/character/run.rs +++ b/voxygen/src/anim/character/run.rs @@ -30,26 +30,26 @@ impl Animation for RunAnimation { let wavecos_slow = (time as f32 * 8.0 + PI).cos(); let wave_dip = (wave_slow.abs() - 0.5).abs(); - next.head.offset = Vec3::unit_z() * (12.0 + fuzzwave *0.4)/ 11.0; + next.head.offset = Vec3::unit_z() * (12.0 + fuzzwave *1.0)/ 11.0; //next.head.ori = Quaternion::rotation_z(); - next.chest.offset = Vec3::unit_z() * (8.0 + fuzzwave * 0.3) / 11.0; - next.chest.ori = Quaternion::rotation_z(wave * 0.2); + next.chest.offset = Vec3::unit_z() * (8.0 + fuzzwave * 0.8) / 11.0; + next.chest.ori = Quaternion::rotation_z(wave * 0.3); - next.belt.offset = Vec3::unit_z() * (6.0 + fuzzwave * 0.3)/ 11.0; - next.belt.ori = Quaternion::rotation_z(wave * 0.2); + next.belt.offset = Vec3::unit_z() * (6.0 + fuzzwave * 0.8)/ 11.0; + next.belt.ori = Quaternion::rotation_z(wave * 0.3); - next.shorts.offset = Vec3::unit_z() * (3.0 + fuzzwave * 0.3) / 11.0; - next.shorts.ori = Quaternion::rotation_z(wave * 0.1); + next.shorts.offset = Vec3::unit_z() * (3.0 + fuzzwave * 0.8) / 11.0; + next.shorts.ori = Quaternion::rotation_z(wave * 0.2); next.l_hand.offset = Vec3::new(0.0 - wavecos * 1.0, 7.5, 11.0 - wave * 1.0) / 11.0; next.l_hand.ori = Quaternion::rotation_y(wave * -1.8); next.r_hand.offset = Vec3::new(0.0 + wavecos * 1.0, -7.5, 11.0 + wave * 1.0) / 11.0; next.r_hand.ori = Quaternion::rotation_y(wave * 1.8); - next.l_foot.offset = Vec3::new(2.5 - wavecos * 4.0, 3.4, 6.0 + wave * 2.5) / 11.0; + next.l_foot.offset = Vec3::new(2.5 - wavecos * 4.0, 3.4, 6.0 + wave * 2.9) / 11.0; next.l_foot.ori = Quaternion::rotation_y(wave * -1.0); - next.r_foot.offset = Vec3::new(2.5 + wavecos * 4.0, -3.4, 6.0 - wave * 2.5) / 11.0; + next.r_foot.offset = Vec3::new(2.5 + wavecos * 4.0, -3.4, 6.0 - wave * 2.9) / 11.0; next.r_foot.ori = Quaternion::rotation_y(wave * 1.0); next.back.offset = Vec3::new(-6.0, 16.0, 15.0);