Hi! Im trying to make a prototype for an app i want to make. I was wondering how I made it where once the right key is pressed the character goes to the right. I used to know this like the back of my hand but after i took a break for a bit I forgot lol. I already have the if statement down, i just need the translate.
Something like this maybe?
transform.Translate(Vector2.right * MovementSpeed * Time.deltaTime);
1 Like
Exactly! That is what im looking for! Thanks!