mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
minor anim tweak
This commit is contained in:
parent
854361cdaa
commit
be3ed4b238
@ -125,7 +125,7 @@ impl Animation for SwimAnimation {
|
||||
next.l_hand.offset = Vec3::new(
|
||||
-1.0 - skeleton_attr.hand.0,
|
||||
1.5 + skeleton_attr.hand.1 - foot * 2.0 * intensity,
|
||||
5.0 + skeleton_attr.hand.2 + foot * -5.0 * intensity,
|
||||
intensity * 5.0 + skeleton_attr.hand.2 + foot * -5.0 * intensity,
|
||||
);
|
||||
next.l_hand.ori = Quaternion::rotation_x(1.5 + foot * -1.2 * intensity)
|
||||
* Quaternion::rotation_y(0.4 + foot * -0.35);
|
||||
@ -134,7 +134,7 @@ impl Animation for SwimAnimation {
|
||||
next.r_hand.offset = Vec3::new(
|
||||
1.0 + skeleton_attr.hand.0,
|
||||
1.5 + skeleton_attr.hand.1 + foot * 2.0 * intensity,
|
||||
5.0 + skeleton_attr.hand.2 + foot * 5.0 * intensity,
|
||||
intensity * 5.0 + skeleton_attr.hand.2 + foot * 5.0 * intensity,
|
||||
);
|
||||
next.r_hand.ori = Quaternion::rotation_x(1.5 + foot * 1.2 * intensity)
|
||||
* Quaternion::rotation_y(-0.4 + foot * -0.35);
|
||||
|
Loading…
Reference in New Issue
Block a user