Hello again. I'm having an issue on my Skeleton Animation on Unity. When the character is walking he seems to fall in front of him little by little.
I somehow fixed this by replacing in my script:
//rigidbody.velocity = new Vector2(movement * speed, rigidbody.velocity.y);
rigidbody.transform.Translate(Input.GetAxis("Horizontal")/10,0,0);
Now the character straights up at each end of animation (which seems laggy).
I checked that the foot doesn't go through the floor and it doesn't improve the situation. Do I have to change the center of the mass of my character maybe? Or may the character bends when one of his feet does not touch the ground, and I have to work on may animation better.