Why is my first person controls not working(three.js)
JULIODIAZ1

Im trying to make a 3d firs tperson game cause im learning three.js and im having trouble with the FirstPersonControls module. WHen i run it and click start the FirstPersonControls is not defined even though i defined it in modules.js and when i try to put it in the same file and make it a module file, it says theres no start function when its there in teh code. Im very stuck so pls help.

You are viewing a single comment. View All
JULIODIAZ1

i dont think so because it needs to be an object and thats how it is in the docs of threejs but thanks anyway @QuickV