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 .
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.
That means that the if collide is not triggered, would you mind sharing your bbdoc in a .rar or .zip format in a private message so I can have a look on it?
← Return to game
Comments
Log in with itch.io to leave a comment.
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 .
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.
Hi,
You are welcome and thanks for the response :) .The wall has been set to static.However the character object pass through it .
Note: For 3d i modified y axis with z.
That means that the if collide is not triggered, would you mind sharing your bbdoc in a .rar or .zip format in a private message so I can have a look on it?
Hi,I have send you the bbdoc via buildbox forum :)
Thank you so much!