Leaning more op

This commit is contained in:
Franklin Blanco 2023-09-17 18:18:51 -07:00
parent 3573156316
commit 57a14812ee
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ pub fn follow_cursor_with_camera(
for mut camera_transform in camera_query.iter_mut() {
let local_z = camera_transform.local_z();
let right = Vec3::new(local_z.z * 0.5, camera_transform.translation.y, -local_z.x * 0.5);
let right = Vec3::new(local_z.z, camera_transform.translation.y, -local_z.x);
player_transform.rotation = desired_rotation_quat;
if keyboard_input.pressed(KeyCode::Q) {
let final_quat = Quat::from_axis_angle(Vec3::Z, radians_from_degrees(30.0));