Case Status
Log In


Home ยป Action Reference»Input Actions»Get Axis Vector
Community Wiki

Get Axis Vector

Gets a world direction vector from 2 input axis. Typically used for a third person controller with Relative To set to the camera.

Horizontal Axis
The horizontal input axis.
Vertical Axis
The vertical input axis.
A multiplier - typically a speed.
Map To Plane
Map the input to a world plane. Typically XZ, but could switch to XY if the character starts climbing a wall.
Relative To
Calculate a vector relative to this game object. Typically the camera.
Store Vector
Store the resulting vector. You can pass this to Translate or other movement actions.
Store Magnitude
Store the magnitude of the vector. Useful if you want to measure the strength of the input and react accordingly. Hint: Use Float Compare


See Also: Unity Get Axis docs.


Last modified on 2/13/2016 2:27 PM by User.

  • RSS Feed