Rope/Rod Actor

Ropes and Rods are a type of actor that can be used to simulate flexible and rigid bodies. They are used to create ropes, chains, and other flexible objects, as well as rigid bodies like rods and beams. In order to create a Rope/Rod you need to:

  1. Create RopeActor.

    Create an empty GameObject and add a RopeActor component to it by clicking Add Component > MAGES > Mesh Deformations > Actors > Rope Actor in the inspector

    ../../../_images/AddComponentRopeActor.PNG
  2. Assign a Physics World to the RopeActor.

    In the Mesh Field of the RopeActor component, assign the mesh that will be used to create the cloth. Also, assign a Physics World to the ClothActor component

    ../../../_images/RopeActorInspector.PNG

    To make the actor behave like a rope you can decrease Bending Compliance, while to make it behave like a stiff rod you can increase it.

    Note

    You can edit the kinematic particles using the editing tool, by pressing the ‘Edit Particles’ button in the inspector.

    ../../../_images/edit-particles.PNG

    In the particles that appear on the scene, left click to make them kinematic (red color) and shift + left click to make them dynamic (green color).

  3. Render the Rope/Rod.

    To render the rope/rod, simply add a RopeRenderer component to the GameObject and assign a Material to it:

    ../../../_images/RopeRenderer.PNG