Skip to content Skip to sidebar Skip to footer

Trackballcontrols.js: This.domelement.addeventlistener Is Not A Function

I get this error from the TrackballControls.js: this.domElement.addEventListener is not a function This occurs when I assign the TrackballControls to a DOM: // 'container' is a v

Solution 1:

OK, I figured it out. After hours of troubleshooting, it turned out to be inappropriate characters in the name and id of my DIV tag. Once I changed it to all alphabetic characters it worked fine.


Post a Comment for "Trackballcontrols.js: This.domelement.addeventlistener Is Not A Function"