Remove redundant orientation

This commit is contained in:
Joshua Barretto 2022-01-17 09:25:46 +00:00
parent 41ed0f284f
commit d0c101ed06

View File

@ -151,8 +151,7 @@ impl Animation for ShootAnimation {
s_a.bc.2 + 8.0 + (look_dir.z * 15.0).max(-8.0),
);
next.control.orientation = Quaternion::rotation_x(look_dir.z)
* Quaternion::rotation_y(-look_dir.z + s_a.bc.4 - 1.25)
* Quaternion::rotation_z(0.0 - 0.0 + move2 * -0.0); //.2,.1
* Quaternion::rotation_y(-look_dir.z + s_a.bc.4 - 1.25);
next.head.position = Vec3::new(0.0, s_a.head.0, s_a.head.1);