Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

Issues with raycast

$
0
0
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

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>