2 Replies Latest reply on Jun 2, 2009 5:41 AM by tyree_2

    How to know a model member's index ?

    kasapicola

      I have imported a 3D model from google sketch up. I want to know the index of each model component. For. e.g if i import a car model from sketch up i want to know which index is the wheel. Below is the lingo code. I want to use this index in step a (of code given below) to create individual member animation.

       

                     property p3Dmember  -- reference to 3D cast member
                     property pCharacter -- reference to the character in the 3D world

       

                       -on beginSprite me
       
                     -- initiate properties and 3D world
                     p3Dmember = sprite(me.spriteNum).member
                      p3Dmember.resetWorld()
       
      step a:     pCharacter = p3Dmember.model[31]       

       

      I would appreciate your time and help for solving this issue.

       

      Thanks.