PDA

View Full Version : How to get the direction of a poly edge?


Bumbi
02-02-2006, 10:48 AM
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?

Rivendale
02-02-2006, 10:57 AM
Hey Bumbi, the command 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.

cheers,
CML

Bumbi
02-02-2006, 11:18 AM
Sweet! I knew that there should be solution as simple as that, just couldn't find it.

Thank you!

CGTalk Moderation
02-02-2006, 11:18 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.