07-02-2019, 12:13 PM
(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?