Rope Cutter

The rope cutter tool is used for performing cuts on a Rope/Rod. Unlike tearing which uses physics forces to break the mesh, the rope cutter tool allows arbitrarily cutting the mesh using predefined cutting disc. Below you will find a short guide on how to setup the RopeCutter tool:

  1. Add the RopeCutter component on a GameObject.

    To add the RopeCutter component, click on Add Component > MAGES > Mesh Deformations > Tools > Rope Cutter.

  2. Assign the Rope Actor that you want to cut in the inspector of the RopeCutter component.

    Drag and drop the Rope Actor in the Actor to Cut field:

    ../../../_images/RopeCutterInspector.PNG
  3. Adjust the Cut Radius.

    From the inspector adjust the cut radius so that the disc displayed on the scene best matches the mesh of the cutting tool:

    ../../../_images/RopeCutRadius.PNG

You have now successfully setup the rope cutter tool. In the section is a guide on how to use it.

How to Use?

When you want to perform a cut you can call void CutRemove() public function of the RopeCutter component. You can either call it from a custom script or attach it to a Grabbable’s ActivateEntered event for example.

  • CutRemove(): This function will remove the intersected distance and bending constraints from the simulation mesh of the Rope Actor.