- Home /
Question by
TheRichardGamer · Feb 21, 2014 at 05:16 PM ·
2dcollisionmovement scripthorizontal movement
Glitchy collisions
So, I have my cube act as a player with a player script that controls its movements and it also has a Rigidbody2D attached to it which handles gravity and such. But the thing is that when I collide with walls horizontally my cube kinda moves in for a millisecond (or a very short amount of time) and then it goes back and to where it was and it keeps on like that. How can I fix this?
Comment
Your answer
Follow this Question
Related Questions
Why isn't my move on collision script working? 0 Answers
Object jumps through roof when holding "Up" button? 1 Answer
How do I make animation transitions a one-way street? 1 Answer
Limiting Physics to X and Y 5 Answers
OnTriggerEnter2D not triggering 2 Answers