From 6dc5a5b366d08c4fdfe5e55994b6fefdeafd0045 Mon Sep 17 00:00:00 2001 From: Joshua Barretto Date: Fri, 13 Oct 2023 21:25:39 +0100 Subject: [PATCH] Made bird legs more reasonable --- voxygen/anim/src/bird_medium/run.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/voxygen/anim/src/bird_medium/run.rs b/voxygen/anim/src/bird_medium/run.rs index b26cdd5ded..4e235db385 100644 --- a/voxygen/anim/src/bird_medium/run.rs +++ b/voxygen/anim/src/bird_medium/run.rs @@ -119,7 +119,7 @@ impl Animation for RunAnimation { s_a.leg.2 + (foot1b + 1.0) * 0.75, ); next.leg_l.orientation = Quaternion::rotation_x(-0.2 * speednorm + foot1a * 0.75) - * Quaternion::rotation_y(tilt * 0.5 + (foot1b + 1.0) * 0.3); + * Quaternion::rotation_y(tilt * 0.5 + foot1b.max(0.0) * 0.6); next.leg_r.position = Vec3::new( s_a.leg.0, @@ -127,7 +127,7 @@ impl Animation for RunAnimation { s_a.leg.2 + (foot2b + 1.0) * 0.75, ); next.leg_r.orientation = Quaternion::rotation_x(-0.2 * speednorm + foot2a * 0.75) - * Quaternion::rotation_y(tilt * 0.5 - (foot2b + 1.0) * 0.3); + * Quaternion::rotation_y(tilt * 0.5 - foot2b.max(0.0) * 0.6); next } }