3 Replies Latest reply on Jun 22, 2006 4:35 AM by AndrewNock

    Grouping objects

      Hey all, finally getting some movement on my crane, just having issues grouping the objects and rotating them all etc... what am I doing wrong!

      global craneMove
      global rotationValue

      property gMainArm

      on start

      -------- Assign Groups ------------
      gMainArm = member("Crane").newGroup("MainArm")

      member("Crane").model("Arm1").parent = gMainArm
      member("Crane").model("Arm2").parent = gMainArm
      member("Crane").model("Rope").parent = gMainArm


      on rotateLeft




      This throws up the error: Script Error: Object expected - gMainArm.rotate(0,0,1)

      Any help would be much appreciated. Ta