popup origin fix

Former-commit-id: 9a7ba69115e7b574bc2f3bf26afad71e3c682c38
This commit is contained in:
jshipsey 2019-05-16 01:29:48 -04:00
parent 50fa3cf098
commit 6db00e371d
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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;