From 978c3c3936eb0a01d086a2630b68fb5bb6a313ff Mon Sep 17 00:00:00 2001 From: Adrian G L Date: Thu, 2 Oct 2025 11:23:25 +0200 Subject: [PATCH] fix: rotate tail rotor on x-axis instead of y-axis to match rigth axis --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 70a2371..0061571 100644 --- a/src/main.rs +++ b/src/main.rs @@ -443,7 +443,7 @@ fn main() { let mut mr_pin = main_rotor_node.as_mut(); unsafe { mr_pin.get_unchecked_mut().rotation.y = elapsed * 10.0; } let mut tr_pin = tail_rotor_node.as_mut(); - unsafe { tr_pin.get_unchecked_mut().rotation.y = elapsed * 10.0; } + unsafe { tr_pin.get_unchecked_mut().rotation.x = elapsed * 10.0; } } // Draw scene via scene graph