Tentacle Renderer Preview

The Tentacle Renderer is used to draw dynamic cables that twists and bends in your game.

Creating and editing Cables

See Creating Cables for instructions on how to add renderers to the scene.

Tentacle Renderer Editing

Use the green Editor Gizmos to move the anchor point and the green one to change rotation and length of the tentacle.

NOTE: It is always best to use the provided handles to move and rotate the cables around in the scene, as some Transform parameters such scale and rotation will be calculated by the renderer itself.

Cable Parameters

Tentacle Renderer Parameters

  • Cable Parameters
    • Stretch: stretches the tentacle to make it more or less straight.
    • Twist: amount of the twist animation.
    • Bend: bends the tentacle left or right.
    • Conify: adds a cone shape to the tentacle.
    • Thickness: the "resolution" (pixel size) of the cable. See the FAQs for more details on scaling cables.
    • Edge Smoothness: Applies a fading effect to the edges. Use this as an antialias to blend the cable with background images.
  • Animation Settings
    • Growth: growth percentage from the base to the tip.
    • Oscillator Amount: regulates the amount of the active oscillators (controls both amount and speed).
    • Animation Speed: overall speed of the animation.
  • Color Settings
    • Color Mode: use this to select one of the available coloring modes.
  • Trigger Settings
    • Use Trigger: turn this on if you want to add a trigger to detect collision to te tip of the tentacle.
    • Trigger Size: the size of the trigger (radius of the circle collider).
  • Other Settings
    • Static Parameters: turn this on if you don't plan to change the cable parameters during playtime to improve performance (The cable will mantain its starting parameters and any subsequent change will be ignored).
    • Enable Animation in Editor: turn this on if you want to preview the animation inside the editor Scene View.


Tentacle Renderer Oscillators

You can add oscillators on top of the parameters to create even more dynamic animations. Simply turn on the desired Osc toggle and adjust the Oscillator Amount parameter.

NOTE: Oscillators are disabled when Use Trigger is on.


Tentacle Renderer Triggers

If you want to detect collision with the tip of tentacle (eg. for creating a monster enemy) simply turn on the Use Trigger flag and assign a function to the OnTriggerEnter event.

NOTE: Trigger will automatically switch off when the tentacle growth is below the threshold of 0.99.