Fixed glider shoulders

This commit is contained in:
Joshua Barretto 2023-10-13 19:44:55 +01:00
parent 93632c59af
commit adf77c48df

View File

@ -58,6 +58,9 @@ impl Animation for GlidingAnimation {
next.shorts.position = Vec3::new(0.0, s_a.shorts.0, s_a.shorts.1);
next.shorts.orientation = Quaternion::rotation_z(-speedlog + slow * 0.15);
next.shoulder_r.orientation = glider_ori * Quaternion::rotation_x(2.0);
next.shoulder_l.orientation = next.shoulder_r.orientation;
next.hand_l.position =
glider_pos + glider_ori * Vec3::new(-s_a.hand.0 + -2.0, s_a.hand.1 + 8.0, s_a.hand.2);
next.hand_l.orientation = Quaternion::rotation_x(3.35) * Quaternion::rotation_y(0.2);