Hi,I purchased this code for step limit.And i used this for a 3d game.Unfortunately it was hard to make it work but got it working :) however when the character collides with another object it just pass through it. How to fix this ? i think its not detecting collision .
Viewing post in 2D only - 4 Way swipe step by step (Buildbox) comments
Hi, thank you so much for purchasing this. To fix your issue you need to adjust the 4 if colliders that are available on character node (L,R,U,D) left right up and down. Those 4 colliders needs to be at the limit of the player in such way that when colliding with anything it wont allow the player to move on. A good practice is to keep the wall's collider to static (from the Start node).
Note: If colliders works only with collision shapes that are set in "Start" node of that entity object. you cannot trigger 2 if colliders with one and another. Please let me know if you manage to fix it.