Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Try

Vector3.Distance((RaycastHit variable).point, player.transform.position)