#UnityTips If you want to check if an object is in front of another object you can use the InverseTransformPoint method. As long as you follow the "z is forward" logic
Useful for something like visibility checks.
Something like this 👇
#gamedev #indiedev pic.twitter.com/drn09axYXs— Binary Impact (@BinaryImpactG) May 10, 2022