Notifications
Clear all

[Closed] How to get the direction of a poly edge?

[size=2]When using polyOp.divideEdge it divides along a certain distance along it’s length. But how can I find out in which direction the edge is facing before dividing?

[/size]

2 Replies

Hey Bumbi, the command [size=2]polyop.getEdgeVerts will give you the verts of the edge in the order of the edge, so the distace goes from vert 1 in the array to vert 2.[/size]
[size=2][/size]
[size=2]cheers,[/size]
[size=2]CML
[/size]

Sweet! I knew that there should be solution as simple as that, just couldn’t find it.

Thank you!