U
U
Uncle Bogdan2021-08-09 09:35:32
Unity
Uncle Bogdan, 2021-08-09 09:35:32

How to make recording easier?

It looks like this:

private void Move()
    {
        Vector2 direction = new Vector2(Input.GetAxisRaw("Horizontal"), Input.GetAxisRaw("Vertical"));


//ЭТО
        _characterController.Move(_walkSpeed * Time.fixedDeltaTime * (transform.forward * direction.y + transform.right * direction.x).normalized);
    }

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
freeExec, 2021-08-09
@motkot

The fact that someone will simplify it will not become easier for you. So use what you personally understand better.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question