Skip to main content
itch.io
Browse Games
Game Jams
Upload Game
Developer Logs
Community
Log in
Register
Indie game store
Free games
Fun games
Horror games
Game development
Assets
Comics
Sales
Bundles
Jobs
Tags
Game Engines
Miz Jam 1
»
Community
Viewing post in
Dose anyone know how RaycastHit.Distance works?
← Return to jam community
MhamedGD
4 years ago
Try
Vector3.Distance((RaycastHit variable).point, player.transform.position)