Splash screen for pointer lock controls

I’m trying to recreate the Pointer Lock Controls from three.js examples but having trouble getting the controls to work, I have added a splash screen but the controls still aren’t working, see my code here: Glitch :・゚✧ any help would be appreciated

Your code was a bit incomplete since the actual update in the animation loop was missing. Try it with the below code.

Updated demo: https://paper-steep-winter.glitch.me/

Since the link to glitch will expire at some point, I’m referring to the following code section which was missing in your app:

Thanks but for some reason I am able to jump through the boxes, see my code here: Glitch :・゚✧ why is this?

Similar to the official example, a full collision detection is not implemented. You can only jump on boxes.

how would I implement a full collision detection?

Sorry, I can’t provide an answer on such a broad topic. I suggest you study existing topics and read related literature.

Ok Thanks for your help