mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Remove redundant orientation
This commit is contained in:
parent
41ed0f284f
commit
d0c101ed06
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user