Hi all. I just started working on a 2D beat’em up. I started doing it with the 2D settings, but soon discovered that I would have to switch to 3D in order to be able to move the characters in depth too, like in the classic beat’em ups, not just from right to left. All the graphics are going to be 2D anyway.
So I’m struggling now to make the player move. I’ve set up a plane object, and the character object has a rigidbody and a box collider. So, to make the character move, I’m doing something like this:
xSpeed = horizontalMove * speedIncrease; rigidbody.velocity = new Vector3 (xSpeed, 0, 0);
What am I doing wrong?
Thanks in advance