Unity tools for modifying and placing meshes in a non-destructive way.
Supports polyline and Bezier curves for morphing and placing meshes.
- Download repository or check out locally.
- Copy the
Twister
folder into the root ofAssets
.
- Select a game object with a
Mesh Filter
component, then add new component under the sectionGeometry Tools/Morph
. Currently, the options areBezier Morph
andPolyline Morph
components. - After adding the new component, set it up as follows:
- In the morph component, select the
Setup Mode
option. - In the
Original Mesh
property of the component, select the mesh that mathches theMesh Filter
in the same object. A yellow wireframe should show up in the Scene view. - P0 and P1 are the starting and end points respectively for the morphing of the mesh. Using the handles or the input fields in the inspector, place them where the morph tool should use as origins for morphing with the path.
- In the morph component, select the
- Start the mesh morphing by adding some morph anchors under the
Modifer Mode
option.- Add anchors by pressing the + sign in the dropdown list of the component.
- Use the handles or the input fields of each anchor element for updating the morphing path. A white line should be drawn along each of the anchors in the Scene view.
- Press
Update Mesh
button to apply the mesh morphing. A new mesh will be created and assigned to the Mesh Filter.
To restore the object to use the original mesh, press the Reset Mesh
button.
TBD