- Home /
Why is my object getting stuck in the edge of other objects?
I have one cube that is affected by gravity. It starts off in the air and slowly drops onto the ground but when I try to move it with "w,a,s,d" controls it won't move. However while in mid-air it still moves fine. I looked closer and the cube becomes caught / stuck in the grounds collider. Can anyone help?
Thanks in advance!
Can you provide more details about how you have your scene set up? Posting the code you're using to move the cube would be a good start.
Answer by SaphalAryal · Aug 31, 2020 at 11:26 AM
Bro ! Did you got any solution of this problem Pease share with me Can you help me ? If you can then Thanks in Advance !
Answer by IKDev · Aug 31, 2020 at 11:29 AM
Make Physics Material 2D and set its friction to 0. I think this will help. And maybe reduce Fixed Timestep at Edit => Project Settings => Time, or set collision detection to continuous.
Hope it helps :)
Your answer
Follow this Question
Related Questions
Rigidbody stuck in colliders when moving and ricosheting. 0 Answers
Colliders getting stuck on and trespassing mesh 1 Answer
How to destroy the cube which I selected with the arrow key 2 Answers
How to detect collision between 2 objects while checking are they the ones that need to collide? 1 Answer