Quantcast
Viewing all articles
Browse latest Browse all 94

RayCast or LineCast?

Hi, First let me say I've chosen LineCast because I'd read that **Linecast will detect intersection even if both StartPos and EndPos are within the collider** in a old post in this forum. I'm generating a flight path and every 0.2 seconds I call a routine that sends out line casts in a 180 degree arc looking for colliders, all works fine until one of the line cast arcs spawns say inside a block, like a tower block, even with the ends of the line cast showing through the block they do not show a detection, has line cast been changed, now on Unity 5.5 Cheers.

Viewing all articles
Browse latest Browse all 94

Trending Articles



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