A
A
accacha2020-10-03 20:33:11
Unity
accacha, 2020-10-03 20:33:11

How to make an enemy moving behind the player in 2D like in the example?

How to create a script that will spawn an enemy moving behind the player like in the example? It doesn't have to move up and down, just in a straight line.

5f78b4fe38bf2532324995.gif

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
WasTabon, 2020-10-03
@WasTabon

Do a transform.position and set the player's Y and X to whatever length you want

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question