From 5847fde3327161763dc13e3d8475309c78020dda Mon Sep 17 00:00:00 2001 From: yuni Date: Sun, 14 Jul 2024 21:16:32 +0200 Subject: [PATCH] fix matching velocity when inside vehicles --- src/camera.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/camera.rs b/src/camera.rs index db2c5cf..69d37d4 100644 --- a/src/camera.rs +++ b/src/camera.rs @@ -428,7 +428,12 @@ pub fn apply_input_to_player( q_target: Query<&LinearVelocity, (With, Without)>, q_closest: Query< (&Position, &LinearVelocity), - (Without, Without), + ( + Without, + Without, + Without, + Without, + ), >, mut q_playercam: Query< (