fix: rotate tail rotor on x-axis instead of y-axis to match rigth axis

This commit is contained in:
2025-10-02 11:23:25 +02:00
parent a729d28841
commit 978c3c3936

View File

@@ -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