fix: rotate tail rotor on x-axis instead of y-axis to match rigth axis
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user