ABSTRACT
When we execute this code, the variable %hitObject will be assigned a value. If that value is zero, no objects were hit. If the value is nonzero, the value is equivalent to the nearest collided object along our ray (starting at the tail).
When we execute this code, the variable %hitObject will be assigned a value. If that value is zero, no objects were hit. If the value is nonzero, the value is equivalent to the nearest collided object along our ray (starting at the tail).