Hi,
I first apologize for my bad english, foreigner talking.
I'm getting mad on some strange behaviour i have on my project.
I have a basic map with walls and holes and npcs moving in it.
Their move are tile based and i choose the direction according on if raycast tests hit tag walls or not (holes are tagged as walls too)
This is working about 99% of the time but there is always a moment where my raycast don't see the wall/hole.
All my code is in Update since i'm not using lots of physics. I...
Issues with raycast
I first apologize for my bad english, foreigner talking.
I'm getting mad on some strange behaviour i have on my project.
I have a basic map with walls and holes and npcs moving in it.
Their move are tile based and i choose the direction according on if raycast tests hit tag walls or not (holes are tagged as walls too)
This is working about 99% of the time but there is always a moment where my raycast don't see the wall/hole.
All my code is in Update since i'm not using lots of physics. I...
Issues with raycast