Fixed glider animation so glider does not block view in first person.

This commit is contained in:
unknown 2020-06-28 16:47:31 -04:00
parent 635c0d06f0
commit 7f02fa8132

View File

@ -135,7 +135,7 @@ impl Animation for GlidingAnimation {
);
next.lantern.scale = Vec3::one() * 0.65;
next.torso.offset = Vec3::new(0.0, -4.0, 0.0) / 11.0 * skeleton_attr.scaler;
next.torso.offset = Vec3::new(0.0, -4.0, 10.0) / 11.0 * skeleton_attr.scaler;
next.torso.ori = Quaternion::rotation_x(-0.06 * speed.max(12.0) + slow * 0.04)
* Quaternion::rotation_y(tilt * tiltcancel * 32.0);
next.torso.scale = Vec3::one() / 11.0 * skeleton_attr.scaler;