Leaning more op
This commit is contained in:
parent
3573156316
commit
57a14812ee
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user