- Home /
Question by
pooyafayyaz · Aug 01, 2014 at 11:39 AM ·
physics
my player slips on ground
i add force to my character by player.rigidbody2D.AddForce (Vector3.right * 45);
every frame .it works but when the player walks and i change his direction to opposite he slips on ground and then he changed his position. i try to add player.rigidbody2D.velocity = new Vector3(0, 0, 0);
somehow it work but when the character stops he goes a bit back and forth.and i dont know why.i think i should change physics setting but don't know which should i change.maby friction...
Comment
Your answer
Follow this Question
Related Questions
Affecting angular momentum on bounce 1 Answer
Crushy Bird Game Doubt 1 Answer
how to make car like "hill climb racing" in unity 2d? 2 Answers
2D 360 degress platformer example needed 0 Answers
How can I create 2D swinging ball? 1 Answer