fix: space nodes further apart by adjusting x position offset
This commit is contained in:
@@ -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, 0.0, heading.z);
|
||||
node.position = glm::vec3(heading.x + (i as f32) * 5.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
|
||||
|
||||
Reference in New Issue
Block a user