#How do I find the closest object out of multiple?
1 messages · Page 1 of 1 (latest)
instead of doing that just cache all the cameras then just iterate through them to get a vector3.distance
You mean like make an array and cycle through it to find the closest?
yes depends when you are checking though
Actually I'm now realizing I forgot to set it to check if it's hitting an object of type LightSwitch in the first place