diff --git a/src/actor.rs b/src/actor.rs index 725389b..781ac28 100644 --- a/src/actor.rs +++ b/src/actor.rs @@ -721,11 +721,12 @@ fn handle_wants_lookat( } else { continue; }; - let up = if trans.translation.length_squared() > 1e-6 { - trans.up() - } else { - Dir3::Y - }; + //let up = if trans.translation.length_squared() > 1e-6 { + // trans.up() + //} else { + // Dir3::Y + //}; + let up = Dir3::Y; // TODO: the above code seems to be buggy, this is a workaround rot.0 = look_at_quat(**pos, target_pos, up.as_dvec3()); } }