Within my Three.js scene, I currently have a tube object that I need to dynamically adjust the start and end points of. I believe this approach is more efficient than creating a new tube with updated points and removing the old one. If this is not the case, please provide me with some insight.
Here is my current method of achieving this: http://jsfiddle.net/95t964o0/22/. Simply click the button to see it in action.
I have attempted to set all attributes related to this as true:
grid.dynamic = true;
grid.needsUpdate = true;
grid.geometry.verticesNeedUpdate = true;
Any assistance would be greatly appreciated!