Answers for "How to get the world position of the edge of an object?"

C#
1

How to get the world position of the edge of an object?

Vector3 offset = transform.up * (transform.localScale.y / 2f) * -1f; 
Vector3 pos = transform.position + offset; //This is the position
Posted by: Guest on May-06-2020

Code answers related to "How to get the world position of the edge of an object?"

C# Answers by Framework

Browse Popular Code Answers by Language