skip to Main Content

getOrbit().disable() is not defined – Javascript

So I am using this library https://dev.codemotionkids.com/libraries/diorama/docs/index.html I wanted to use the function getOrbit().disable() to disable the camera rotation. However I face this error: Uncaught TypeError: getOrbit(...).disable is not a function at draw (sketch.js:166:14) at _main.default.redraw (p5.js:70809:27) at _draw (p5.js:63046:25)…

VIEW QUESTION
Back To Top
Search