oparaskos / unity-tube-renderer

Draw a list of Vector3s as a rope, pipe or tube

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

openupm

Unity Tube Renderer

3D version of unity LineRenderer

TubeRenderer is a little bit of a misnomer since it depends on the MeshRenderer, and MeshFilter, built-in components to do the actual rendering.

Purpose

  • Move this fairly simple utility out of larger more complicated libraries which do this as a secondary or tertiary goal.
  • To allow for scripted objects to display 3 dimensional paths and lines (such as a simulated rope, dynamic cables, or pipes)
  • To allow detail level to be configured with scripting

Using Git

Make sure the Git client is installed on your marchine and that you have added the Git executable path to your PATH environment variable.

Navigate to %ProjectFolder%/Packages/ and open the manifest.json file.

in the "dependencies" section add:

{
  "dependencies": {
      ...
      "com.github.oparaskos.unity.tube.renderer": "git+https://github.com/oparaskos/unity-tube-renderer.git#0.1.0",
      ...
  }
}

Find more information about this here.

About

Draw a list of Vector3s as a rope, pipe or tube

License:MIT License


Languages

Language:C# 100.0%