Cube sinks partially into maze
I made a small setup using a cube and a simple maze(made in blender) , I wrote a simple script allowing the cube to move around the maze using translate.Transform. What I noticed is that while moving around in the maze if i collide with the wall of the maze the cube sinks partially and the bounces back out of the wall. This should not be happening and I want it to behave like any real world wall would. I gave a rigid-body to both the cube and the maze. A box collider to the cube and several box colliders to the maze. Here's a screenshot of the overview: link
Comment