mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
popup origin fix
Former-commit-id: 9a7ba69115e7b574bc2f3bf26afad71e3c682c38
This commit is contained in:
parent
50fa3cf098
commit
6db00e371d
@ -100,7 +100,7 @@ impl Animation for IdleAnimation {
|
||||
next.torso.ori = Quaternion::rotation_x(0.0);
|
||||
next.torso.scale = Vec3::one() / 11.0;
|
||||
|
||||
next.draw.offset = Vec3::new(0.0, 0.0, 0.0);
|
||||
next.draw.offset = Vec3::new(13.5, 0.0, 0.0);
|
||||
next.draw.ori = Quaternion::rotation_y(0.0);
|
||||
next.draw.scale = Vec3::one() * 0.0;
|
||||
next
|
||||
|
@ -80,7 +80,7 @@ impl Animation for JumpAnimation {
|
||||
next.torso.ori = Quaternion::rotation_x(-0.2);
|
||||
next.torso.scale = Vec3::one() / 11.0;
|
||||
|
||||
next.draw.offset = Vec3::new(0.0, 0.0, 0.0);
|
||||
next.draw.offset = Vec3::new(13.5, 0.0, 0.0);
|
||||
next.draw.ori = Quaternion::rotation_y(0.0);
|
||||
next.draw.scale = Vec3::one() * 0.0;
|
||||
next
|
||||
|
@ -76,7 +76,7 @@ impl Animation for RunAnimation {
|
||||
next.torso.ori = Quaternion::rotation_x(-velocity * 0.05 - wavecos * 0.1);
|
||||
next.torso.scale = Vec3::one() / 11.0;
|
||||
|
||||
next.draw.offset = Vec3::new(0.0, 0.0, 0.0);
|
||||
next.draw.offset = Vec3::new(13.5, 0.0, 0.0);
|
||||
next.draw.ori = Quaternion::rotation_y(0.0);
|
||||
next.draw.scale = Vec3::one() * 0.0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user