Quantcast
Viewing all articles
Browse latest Browse all 56

Answer by Dreamblur

You're using the Raycast() method incorrectly. Raycast() takes either an origin point and a direction vector, or a ray, which is essentially the same thing. However, you're passing it an origin point and a destination point. If you were passing those same parameters to Linecast(), you'd be golden. But if you want to use Raycast() instead, you'd need to pass it a direction vector instead of a destination point.

Viewing all articles
Browse latest Browse all 56

Trending Articles



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