A
A
Artur Galyaev2020-09-09 06:14:24
Unity
Artur Galyaev, 2020-09-09 06:14:24

How to remember the direction of the player?

The player can move in 8 directions. Motion animation through BlendTree.
For example, when you press F, the player must hit in the direction in which he went before, how to remember this direction correctly?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
Griboks, 2020-09-09
@Griboks

Make animation for one direction and then rotate it in the direction of movement.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question