How i make my player object passes through walls?
Hello!I'm making a game with a Sphere as a Player for mobiles,using the accelerator to move.Whatever i tried,the ball passes through the walls if the player pushes it against them.I ve tried putting rigidbody to the walls,nothing is kinematic,all the colliders are ok,i tried many scalings for the ball and the walls,i tried to adjust the speed of the ball,i added impulse,i made the collision detection continuous,and continuous dynamic,i tried the "Dont go through things" script but nothing so far.the ball still goes through walls.Any ideas?
Answer by Eansmith · Jul 22, 2016 at 04:13 PM
Just turn off the mesh collider of the wall.
i did turn off the mesh collider but the sphere passes through box colliders too.
Answer by SteliosDaVitzi · Jul 23, 2016 at 10:56 PM
Finally i've gone to Edit-->Project Settings-->Time and changed Fixed Timestep to 0.001 and it works.There is no more going through colliders.