From 6db00e371dcffcd1da297ef24587b0dba3e70d85 Mon Sep 17 00:00:00 2001 From: jshipsey Date: Thu, 16 May 2019 01:29:48 -0400 Subject: [PATCH] popup origin fix Former-commit-id: 9a7ba69115e7b574bc2f3bf26afad71e3c682c38 --- voxygen/src/anim/character/idle.rs | 2 +- voxygen/src/anim/character/jump.rs | 2 +- voxygen/src/anim/character/run.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/voxygen/src/anim/character/idle.rs b/voxygen/src/anim/character/idle.rs index bef3f44247..bf663488ae 100644 --- a/voxygen/src/anim/character/idle.rs +++ b/voxygen/src/anim/character/idle.rs @@ -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 diff --git a/voxygen/src/anim/character/jump.rs b/voxygen/src/anim/character/jump.rs index ffcbf8b718..37a898a3c9 100644 --- a/voxygen/src/anim/character/jump.rs +++ b/voxygen/src/anim/character/jump.rs @@ -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 diff --git a/voxygen/src/anim/character/run.rs b/voxygen/src/anim/character/run.rs index f0c6d733a1..aae5996564 100644 --- a/voxygen/src/anim/character/run.rs +++ b/voxygen/src/anim/character/run.rs @@ -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;