Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mesh creating
#10
(07-02-2019, 11:31 AM)josemendez Wrote: Here's it, turned out to be simpler than expected.

Replace ObiEditorUtils.cs and ObiRopeEditor.cs with the ones I'm providing. Then, a new button "Bake Mesh" in the ObiRope inspector will appear below the "Initialize" button. Upon clicking it, Unity will ask you for a folder to save the mesh to. Then you can use this mesh in any scene as a regular static mesh.

Only works with ObiRopeExtrudedMeshRenderer and ObiRopeMeshRenderer (since ObiRopeLineRenderer is view-dependent and ObiRopeChainRenderer is made up of static meshes).

This functionality will be included in ObiRope,ObiCloth and ObiSoftbody in the next update.

Works like a charm, thanks a lot! Is there a possibility for the same feature for chains in the future?
Reply


Messages In This Thread
Mesh creating - by Evgenius - 29-01-2019, 12:48 PM
RE: Mesh creating - by josemendez - 29-01-2019, 01:25 PM
RE: Mesh creating - by Evgenius - 29-01-2019, 01:40 PM
RE: Mesh creating - by josemendez - 29-01-2019, 01:55 PM
RE: Mesh creating - by Evgenius - 29-01-2019, 02:21 PM
RE: Mesh creating - by josemendez - 29-01-2019, 03:30 PM
RE: Mesh creating - by Evgenius - 07-02-2019, 09:52 AM
RE: Mesh creating - by josemendez - 07-02-2019, 10:43 AM
RE: Mesh creating - by josemendez - 07-02-2019, 11:31 AM
RE: Mesh creating - by Evgenius - 07-02-2019, 12:13 PM
RE: Mesh creating - by josemendez - 07-02-2019, 01:58 PM