★ wanayoo — archive 1999 https://github.com/UnityPatterns/PolyMeshNouvelle recherche | Portail wanayoo
Skip to content
Create 2D shapes in an instant with the PolyMesh editor! Right in Unity you can create polygons, add, split, extrude, and move around vertices to build the shape you want. If straight edges aren’t good enough, connect vertices with curves to get nice smooth shapes. Great for developing 2D games, quick prototyping, or even just creating odd-shape…
C#
Find file
New pull request
Latest commit ab2a446 @ChevyRay ChevyRay Improved centroid calculation when selecting a group of points.
Before it was just finding the average position of all selected points,
but this would result in oddly weighted transform positions depending on
the balance of the points. GetSelectionCenter() now uses a more balanced
centroid calculation.

README.md

PolyMesh

Create 2D shapes in an instant with the PolyMesh editor! Right in Unity you can create polygons, add, split, extrude, and move around vertices to build the shape you want. If straight edges aren’t good enough, connect vertices with curves to get nice smooth shapes. Great for developing 2D games, quick prototyping, or even just creating odd-shaped colliders!

Something went wrong with that request. Please try again.