I have a rigid body with PolygonCollider2D which has some complex circular shape and I'm using uneven platform.
Im using Following code to move the object forward
CharacterRigidBody.velocity = new Vector2 (speed, CharacterRigidBody.velocity.y);
Problem : The rigid body keeps on rotating when it moves forward.
I want the character to move without rotation on asymmetrical platform(above).But i don't want to freeze rotation because i want the character to tilt when climbing or decending platform.
My RigidBody2D config(I'm using unity 5.1.2)
Can collider do anything with this problem?