Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mesh Lines - Horizontal and Vertical Edges
#9
Same as here:
(09-19-2020, 04:59 PM)_Aka_ Wrote: Using Unity's API, you can get the list of vertices and triangles of that mesh. From that, you can produce the list of lines making your mesh. Via dot product (or other means), you can deduce what lines are horizontal or vertical.
To get vertices : CGVMesh.Vertex.To get triangles CGVMesh.SubMeshes.Triangles
Examples of "other means": check the value of Vector3.Angle(Vector3.up, yourVector)
Available for freelance work, feel free to reach out: toolbuddy.net
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Reply


Messages In This Thread
RE: Mesh Lines - Horizontal and Vertical Edges - by _Aka_ - 09-20-2020, 06:20 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Replace deform mesh on volume spots Kokoriko49 1 2,070 06-09-2025, 06:49 PM
Last Post: _Aka_
  Mesh Generation between two splines vatan 4 3,151 02-14-2025, 07:11 AM
Last Post: vatan
  Maintaining vertical orientation of extruded meshes rickgplus 3 2,127 01-24-2025, 09:24 PM
Last Post: _Aka_
  Create Mesh Node, Make Static Options rickgplus 1 1,626 01-23-2025, 10:12 AM
Last Post: _Aka_

Forum Jump: