mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
minor alignment fix
Former-commit-id: ecfa2eff0982e21d523a8a454890a1e6ed6d9bd7
This commit is contained in:
parent
e8c91f753e
commit
1bc03efa90
@ -48,11 +48,11 @@ impl Animation for JumpAnimation {
|
||||
next.shorts.ori = Quaternion::rotation_z(0.0);
|
||||
next.shorts.scale = Vec3::one();
|
||||
|
||||
next.l_hand.offset = Vec3::new(-7.5, 0.0, 12.0);
|
||||
next.l_hand.offset = Vec3::new(-6.0, 0.0, 12.0);
|
||||
next.l_hand.ori = Quaternion::rotation_x(wave_stopalt * 1.2 - waveslow * 0.15);
|
||||
next.l_hand.scale = Vec3::one();
|
||||
|
||||
next.r_hand.offset = Vec3::new(7.5, 0.0, 12.0);
|
||||
next.r_hand.offset = Vec3::new(9.0, 0.0, 12.0);
|
||||
next.r_hand.ori = Quaternion::rotation_x(wave_stopalt * -1.2 + waveslow * 0.15);
|
||||
next.r_hand.scale = Vec3::one();
|
||||
|
||||
@ -67,7 +67,7 @@ impl Animation for JumpAnimation {
|
||||
next.weapon.offset = Vec3::new(-5.0, -6.0, 19.0);
|
||||
next.weapon.ori = Quaternion::rotation_y(2.5);
|
||||
next.weapon.scale = Vec3::one();
|
||||
|
||||
|
||||
next.l_shoulder.offset = Vec3::new(-10.0, -3.0, 2.5);
|
||||
next.l_shoulder.ori = Quaternion::rotation_x(0.0);
|
||||
next.l_shoulder.scale = Vec3::one();
|
||||
|
@ -44,11 +44,11 @@ impl Animation for RunAnimation {
|
||||
next.shorts.ori = Quaternion::rotation_z(wave * 0.6);
|
||||
next.shorts.scale = Vec3::one();
|
||||
|
||||
next.l_hand.offset = Vec3::new(-7.5, 0.0 + wavecos * 2.5, 11.0 - wave * 1.5);
|
||||
next.l_hand.offset = Vec3::new(-6.0, 0.0 + wavecos * 2.5, 11.0 - wave * 1.5);
|
||||
next.l_hand.ori = Quaternion::rotation_x(wavecos * 0.9);
|
||||
next.l_hand.scale = Vec3::one();
|
||||
|
||||
next.r_hand.offset = Vec3::new(7.5, 0.0 - wavecos * 2.5, 11.0 + wave * 1.5);
|
||||
next.r_hand.offset = Vec3::new(9.0, 0.0 - wavecos * 2.5, 11.0 + wave * 1.5);
|
||||
next.r_hand.ori = Quaternion::rotation_x(wavecos * -0.9);
|
||||
next.r_hand.scale = Vec3::one();
|
||||
|
||||
@ -63,7 +63,7 @@ impl Animation for RunAnimation {
|
||||
next.weapon.offset = Vec3::new(-5.0, -6.0, 18.0);
|
||||
next.weapon.ori = Quaternion::rotation_y(2.5);
|
||||
next.weapon.scale = Vec3::one();
|
||||
|
||||
|
||||
next.l_shoulder.offset = Vec3::new(-10.0, -3.0, 2.5);
|
||||
next.l_shoulder.ori = Quaternion::rotation_x(0.0);
|
||||
next.l_shoulder.scale = Vec3::one();
|
||||
|
Loading…
Reference in New Issue
Block a user