beta
cables is under heavy development.
There might be one or another bug, please let us know about it!
WASDCamera
Ops.Gl.Matrix.WASDCamera_v2
Namespace: Ops.Gl.Matrix
simple camera you control with W,A,S,D keys like in a FPS game

summary (oneliner)

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.

doc

issues

youtube id

collections

related ops

Inputs

render (Trigger)

Trigger the op


Enable pointer lock (boolean /Number)

If true pointer lock can be enabled


Speed (Number)

Movement speed multiplier - default 1


Mouse Speed (Number)

Allow Flying (boolean /Number)

Allows vertical movement


Outputs

trigger (Trigger)

trigger out


isLocked (Number)

If pointer lock is active this is true


posX (Number)

X position in space


posY (Number)

Y position in space


posZ (Number)

Z position in space


Mouse Left (Trigger)

Trigger out on left mouse button down


Mouse Right (Trigger)

Trigger out on right mouse button down


Dir X (Number)

Direction of camera X


Dir Y (Number)

Direction of camera Y


Dir Z (Number)

Direction of camera Z


Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save
wasd and physic picking:


Credits


Changelog


Added speed control for camera speed
2019-08-09 - cables

Examples using WASDCamera_v2

Public Patches using WASDCamera_v2