New to three.js and 3d stuff. Straight forward code, stacking cylinders on the Y axis, but have No Clue why they aren’t lining up correctly!
Here is the code: https://codepen.io/Sum-Dood/pen/ZEgaJdp
Any help would be must appreciated.
New to three.js and 3d stuff. Straight forward code, stacking cylinders on the Y axis, but have No Clue why they aren’t lining up correctly!
Here is the code: https://codepen.io/Sum-Dood/pen/ZEgaJdp
Any help would be must appreciated.
Your logic was a little off…
but you were close :).
Thank you so much! You have to calculate from the middle of the geometry!