Hello, I am trying my first steps with three.js and have encountered a first hurdle … It seems that “sphere.geometry.needsUpdate = true;” has an effect only the first time. Nothing happens with all further calls. What am I doing wrong?
My source code so far:
The goal: The vertices of the sphere should change constantly.
The gravitation()-function works as you can see: