Quantcast
Channel: Answers for "3D Top down character movement."
Viewing all articles
Browse latest Browse all 4

Answer by GesterX

$
0
0

Here's how I handle it in my top-down shooter:

I set my inputMovement as follows:

inputMovement = Vector3( Input.GetAxis("Horizontal"), 0, Input.GetAxis("Vertical") );

Then I use translate to move within the world space:

transform.Translate(inputMovement*Time.deltaTime*moveSpeed, Space.World);

Viewing all articles
Browse latest Browse all 4

Trending Articles