Posts by Celso Formiga • 29 points
2 posts
-
1
votes4
answers520
viewsA: Diagonal movement Unity 5
You are setting the speed with this command : Rb.Velocity = Vector2.zero; this leaves you unable to go forward or backward. use Rb.Velocity = new Vector2(direction * speed, rbPlayer.velocity.y);…
-
1
votes0
answers86
viewsQ: Same script on various gameobjects
I have four gameobjects on the screen (active) each with the same script, but renamed to not look exactly the same. My problem is that when I call via touch one of them the other is who obeys the…