- Home /
2d Colliders problem
Hello Guys
I have 2d character that use rigid body , box and circle 2D colliders (the box in on the top of circle collider ) , I need the character to follow game object on the X axis and also to be impacted by gravity .
My question is when i make the character follow the game object on strait collider there is no any problem , But when the character start moving along collider that is rotated as if it where climbing a hill it will start glitching and make unpredictable movement effect then it will slip through that collider!!!!
the object that the character follow is simple game object with only velocity added on fixed update.and the character it self is only change the transform on X axis.
Any help please. Thanks
Answer by izazhaque · Aug 18, 2014 at 10:09 AM
Hey try this link, its for 3D but i think little changes and it may benifit you,afterall unity 2D and 3D are not so different...
http://answers.unity3d.com/questions/168097/orient-vehicle-to-ground-normal.html
Your answer
![](https://koobas.hobune.stream/wayback/20220613160854im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
(2D) Can't use colliders when I have a kinematic rigidbody? 1 Answer
Dynamic colliders without Rigidbodies? 0 Answers
reversing current velocity of 2D rigidbody with button press 0 Answers
Line is not Affected by Physics 0 Answers
2d rigidbody with collider not interacting with 2d box collider 1 Answer