Distance between two Objects in Unity

By GameDevTraum

Introduction In this article we will see different ways to calculate the distance between two objects in Unity, this can be useful for example to know how far is the character from a certain point of the scenario or to activate mechanisms when the character is at a certain distance. Setting up the scene Let’s…