Quantcast
Channel: Answers for "Moving player 1 unit from current position."
Browsing all 4 articles
Browse latest View live

Answer by GameVortex

You can easily use [**Transform.Translate**][1] to move an object: //moves object 1 unity to the right transform.Translate(1.0f, 0.0f, 0.0f); [1]:...

View Article



Answer by whydoidoit

Vertical is an axis you get with [GetAxis](http://docs.unity3d.com/Documentation/ScriptReference/Input.GetAxis.html) and has a value between -1 and 1 with 0 being at rest. If you want to do this on a...

View Article

Answer by GameVortex

You can easily use [**Transform.Translate**][1] to move an object: //moves object 1 unity to the right transform.Translate(1.0f, 0.0f, 0.0f); [1]:...

View Article

Answer by whydoidoit

Vertical is an axis you get with [GetAxis](http://docs.unity3d.com/Documentation/ScriptReference/Input.GetAxis.html) and has a value between -1 and 1 with 0 being at rest. If you want to do this on a...

View Article
Browsing all 4 articles
Browse latest View live




Latest Images