Line to ground

Hello!

I find it really annoying that I can very often not really determine where in the 3D Space an object is (for example the camera).

It would be so cool if a red line would go straight down from the object to the “ground”.
This would make the 3D location perfectly clear.

you can easyly do it with editor script.

add a script on your object you want to see its ground position.

add this kind of function :

public class ShowGroundPosition : MonoBehaviour 
{
	void OnDrawGizmos()
	{
		RaycastHit hit;
		if (Physics.Raycast(transform.position, -Vector3.up, out hit))
		{
			Gizmos.DrawSphere(hit.point, 0.2f);
		}
	}
}

It will show a sphere of 0.2 units in the scene view
But your ground should have a collider