I’m building a maze for a class project and can’t figure out how to get the maze runner to stop going straight through the walls. Have tried with and without rigidbodies.
An elementary question: Do you have colliders on your objects?
Yeah, box colliders on all the wall parts and a capsule collider on the unit itself. Tried making the capsule collider a box collider to see if it was the capsule’s geometry causing it, but no change. There is some resistance to the unit moving, but not much. This has always been the case.
Am discovering that velocity has something to do with it. Slowing the unit down to a crawl makes the unit stop when hitting other objects. This is supposed to be a turn based game, I may have already asked the question and not been bale to figure it out, but is there a way to get an object to move only one unit forward per button press?