Quantcast
Channel: Questions in topic: "curved path"
Viewing all articles
Browse latest Browse all 116

Make a dynamic visual link between two game objects

$
0
0
I have two ships and a planet in between. I want to make a visual link between the ships but in a way that the link will arc around the planet, but not trough it. I also want this to be dynamic, for example when I select one of the ships and move it with arrow keys. I want the line link to adapt and change to the new position of the ship dynamically. I thought maybe LineRenderer but that is just a straight line. Any ideas how can I achieve this is unity? Is there some component that I could possibliy use and adapt to this scenario? thanks. ![dynamic line link between game objects][1] [1]: /storage/temp/54904-lines.png

Viewing all articles
Browse latest Browse all 116

Trending Articles



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