How i can obj position change with dat.gui {SOLVED}



I am using var loader = new THREE.OBJLoader( manager ); function and i want to obj postion change with dat.gui
you can see my demo file


Try it like so:

The idea is to setup the dat.gui when your model has finished loading.


give me clarity, when i change position x,y,z parameter which way i can did.


The object variable was undefined in your case. Just check the browser console after using the GUI in your first fiddle. I have ensured in your onLoad() callback handler that the variable is now correctly set. After that, the GUI is created and ready to use.


Thanks a lot