I am trying to make the spring joint constraint on a cube visible, that is I have a cube with a spring joint on it and want a line to be rendered between the joints anchor point and the center of the cube. It needs to be dynamic so the line follows the cubes movement.
I have experimented with a Line Renderer on the object but cannot get the second 'element' to dynamically follow or read the cubes vector position.
Any help would be greatly appreciated!!
asked Jun 11 '11 at 07:57 AM
I've since figured this problem out for myself by using this as a guide: http://forum.unity3d.com/threads/34614-Line-Renderer-Newbie
I removed the last 3 points+positions and also added a few conditions to prevent the line from rendering once the joint breaks.
answered Jun 13 '11 at 08:33 AM