hugoattal / ElectronicNodes

Wiring style for blueprint and material editors in the Unreal Engine
99 stars 10 forks source link

automatically straight wires #48

Closed ArkTuberGL closed 2 years ago

ArkTuberGL commented 3 years ago

Is it possible to integrate a function so that wires are always straight? You always have to correct this manually with the "Q" key

hugoattal commented 3 years ago

Hum, like you can't move the nodes on the Y axis?

ArkTuberGL commented 3 years ago

The short video should better explain what I mean https://i.gyazo.com/018b0e016a2d8dbac4ed945fb87f498c.mp4

hugoattal commented 3 years ago

Ok, I get it! Well, it has more to do with how the pins are placed on nodes. If I "force" alignment on wires, the nodes won't be aligned with the grid. The best solution would be to space the pins evenly so that they are aligned with the grid, but I didn't find a way to do that properly yet 😕