Quantcast
Channel: Questions in topic: "rope"
Viewing all articles
Browse latest Browse all 194

LineRenderer physics

$
0
0
Hi everybody, I want to create line control like this game: https://play.google.com/store/apps/details?id=com.weegoon.thiefpuzzle&hl=vi&gl=US I used linerenderer and Physics2D.RaycastHit to fire a ray to find nearest Collider2D. My expected result is hit.point return first point where the raycast hit the collider2D (see image below) . But some frame result is another hit point on collider's surface. Does anyone solve this problem? :(

Viewing all articles
Browse latest Browse all 194

Trending Articles



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