2 Replies Latest reply on Sep 20, 2006 11:41 AM by dsdsdsdsd

    how to tell if an object is a model or a camera

    dsdsdsdsd Level 1

      I have a repeat loop that goes through all the children of a model; however my camera is parented to the model also; when the loop gets to the camera child I get an error because I ask the question:
      if child.resource.type =#fromfile ...

      cameras do not have model resources;

      how can I determine if a child is a model or a camera?