Why is it saying this? see my code here: Glitch :・゚✧
- You have to define the variable
torusMesh
. - You have to check in your
update()
function whethertorusMesh
isundefined
or not. That is necessary since you create the mesh in anonLoad()
callback.
Ok Thank you very much this helped a lot, I now have toggle on/off spin for my Torus Mesh see it here: Three js