Puncturable

Puncturable is an extra constraint solver that works on top of the builtin constraints. It can be used along with the Needle to simulate the puncture of a needle in a soft body.

To add puncture functionality to an actor, you can simply use the Puncturable component. To do so you need:

  1. Add the Puncturable component to the actor.

    To add the Puncturable component to an Actor click Add Component > MAGES > Mesh Deformations > Medical > Puncturable in the inspector:

    ../../../_images/add-puncturable.PNG
  2. Assign the needle to the Puncturable component.

    To assign the needle to the Puncturable component, drag and drop the needle actor to the Needle Actor field in the inspector:

    ../../../_images/PuncturableEditor.PNG
  3. Fine tune the Puncturable component behaviour.

    To fine tune the behaviour of the needle you may adjust the properties of the Puncturable component in the inspector. Below there is a short description of the properties:

    Property

    Description

    Needle Actor

    The needle actor that will be used to puncture the soft body.

    Insertion Constraints Sub Steps

    The number of sub steps used to solve the insertion constraints.

    Insertion Constraints Relaxation Factor

    The relaxation factor used in the SOR solver of the insertion constraints.

    Static Friction

    The static friction coefficient between the needle and the soft body.

    Kinetic Friction

    The dynamic friction coefficient between the needle and the soft body.

    Friction Relaxation Factor

    The relaxation factor used in the SOR solver of the friction constraints.