WASDCamera_v2 Op
simple camera you control with W,A,S,D keys like in a FPS game
Summary (oneliner)
<p>Click in the canvas to enable the wasd camera, this also enables the pointerlock. Press escape to disable the pointerlock and regain control of the mouse.</p>
- Ops.Gl.Matrix.WASDCamera_v2
- Core Op - Official cables op
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
Example Patch wasd and physic picking
INPUT PORTS
<p>Trigger the op</p>
<i>boolean</i>
)<p>If true pointer lock can be enabled</p>
<p>Movement speed multiplier - default 1</p>
<i>boolean</i>
)<p>Allows vertical movement</p>
<i>boolean</i>
)Move
<i>boolean</i>
)<i>boolean</i>
)<i>boolean</i>
)<i>boolean</i>
)OUTPUT PORTS
<p>trigger out</p>
<i>boolean</i>
Number)<p>If pointer lock is active this is true</p>
<p>X position in space</p>
<p>Y position in space</p>
<p>Z position in space</p>
<p>Trigger out on left mouse button down</p>
<p>Trigger out on right mouse button down</p>
<p>Direction of camera X</p>
<p>Direction of camera Y</p>
<p>Direction of camera Z</p>