How to prevent character moving through maze walls?
Sep 08, 2022
I have a maze and a character that I move with buttons (up/down/left/right).
I have added triggers to prevent the character from moving through walls: When character intersects with wall, move character along a motion path away from the wall. But sometimes the character slips through the wall! Especially when I move the characted two times quickly. And some walls have walking paths on both sides of the wall, so I must include triggers to both directions in the wall (see attached picture), and then the character catches the motion path "through" the wall before backing up. Any ideas how to build this smart?