hello
i am trying to build a 3d first person shooter,
i am trying to find out where is the code in the script misc_controls_pointerlockthat make you enable to to move the camera with the mouse, i build the part of the game and i can move with the keypad
but i can find out where that part of the script is .
PointerLockControls is derived from EventDispatcher. This is a class from the core that allows the usage of events for custom objects. So it’s possible to register events via addEventListener() and to trigger events via dispatchEvent().