fix: increase spacing between nodes to prevent overlap

This commit is contained in:
2025-10-02 12:28:29 +02:00
parent 5cc806a8dd
commit abfab22966

View File

@@ -462,7 +462,7 @@ fn main() {
{
let mut pin = root.as_mut();
let node = unsafe { pin.get_unchecked_mut() };
node.position = glm::vec3(heading.x + (i as f32) * 5.0, 0.0, heading.z);
node.position = glm::vec3(heading.x + (i as f32) * 10.0, 0.0, heading.z);
node.rotation = glm::vec3(heading.pitch, heading.yaw, heading.roll);
}
// Update rotors: child index 2 = main rotor, 3 = tail rotor