Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit)

I mean, I just used the LineRenderer. With these two lines of code:

link.GetComponent<LineRenderer>().SetPosition(0, transform.position);

link.GetComponent<LineRenderer>().SetPosition(1, target.position);

(though, I don't know if this would work in 3d.)