I use Face normal and face bottom edge direction, to calculate instance orientation per face. but some of the instances are flipped.

enter image description here

I think the problem is with calculating the vector of face bottom edge.

enter image description here

I tried using maximum and minimum math nodes, but it doesn't work. any ideas?

enter image description here

  • $\begingroup$ Use the same rotation to rotate a vector $<0, 0, 1>$, separate its $z$ component, pass to a switch, if false, rotate euler by $180°$ around local $z$ axis. $\endgroup$ Commented Feb 19 at 19:37
  • $\begingroup$ @MarkusvonBroady I don't know how to implement it. plz, explain more. $\endgroup$ Commented Feb 19 at 19:59


You must log in to answer this question.

Browse other questions tagged .