Hi All,
I’ve googled this and read about 20 posts but can’t seem to find specific answers.
I want to clone the old top down dungeon arcade games such as gauntlet. So when my player runs into a long wall, if the direction held is diagonal, he should just slide smoothly up it. If the direction is directly into the wall he should just stop before the wall.
I’ve tried I think every combination of colliders and rigid bodies and I only seem to get one of two results; a, The player moves through the wall or b, the player jerks against the wall. I’ve also had the player collide with the wall and go into a spin, or the walls shoot off into space, fun times!
I am guessing Unity has nothing built into it for “simple” collision detection as detailed above. If that is the case does anyone know a good sample script to get me started on writing it myself?