Hi all,
Coding conundrum ~
I’m using the following code to move my player back a small amount
transform.Translate(Vector3.back * 0.2f);
If I use the following code the results aren’t the same:
transform.position = (Vector3.back * 0.2f);
What is the Translate function doing different to affect my Vector3?
Ideally I wanted to do something like the code below but I was prevented with issues as "Cannot implicitly convert type ‘void’ to Vector3 etc
destination = transform.Translate(Vector3.back * 0.2f);