WASD Camera Controller
Last updated
Last updated
This component is a highly customizable Top Down Camera controller. Add this component to the parent of the WASD Camera. This is a utility component & this will not affect the functioning of Easy Grid Builder Pro.
Camera Transform
Main Camera Transform
Normal Speed
Camera movement speed
Fast Speed
Camera movement speed while holding Speed Up key
Movement Lerp Time
Camera movement smooth value
Rotation Amount
Camera rotation speed
Rotation Lerp Time
Camera rotation smooth value
Zoom Amount
Camera zoom amount in each axis
Min Zoom
Camera minimum zoom-able distance
Max Zoom
Camera maximum zoom-able distance
Zoom Lerp Time
Camera zoom smooth value
Set Height By Raycast
Set Camera height automatically by casting a ray to the ground
Raycast Layer Mask
Layers that Set Height Raycast should hit
Up Key
Camera move forward key
Down Key
Camera move backward key
Left Key
Camera move left key
Right Key
Camera move right key
Speed Up Key
Camera movement speed up key
Rotate Left Key
Camera rotate left key
Rotate Right Key
Camera rotate right key
Zoom In Key
Camera zoom in key
Zoom Out Key
Camera zoom out key
You can find an example implementation of this component in the "3D All In One Demo" located in EasyGridBuilder Pro > Demo Scenes folder.
You can find a pre-made WASD Camera prefab located in EasyGridBuilder Pro > Prefabs > Tutorial Prefabs. Simply drag and drop it to your scene to use.