I think he is asking how to access the individual face/vertex of each
triangle or polygon, so he can modify the location or change positions, to
change the appearance of the primitives.
Something like

myPrimitive.faces[number]

or

myPrimitive.vertices[number]

etc..

-Pete

On Fri, Feb 27, 2009 at 6:53 PM, Fabrice <[email protected]> wrote:

>
> Hi Darcey,
> just store the instances as you wish into a class var array, object etc...
> you can then access them when you want to.
>
> var plane:Plane = new Plane();
> myarray.push(plane);
>
> on enterframe
> myArray[i].rotationY = 90;
>
> or
>
> loop
> oPlanes["p"+i] = plane;
>
> on enterframe
> oPlanes.p0.rotationY = 90;
> oPlanes.p1.rotationY = 90;
>
> or loop
> Planes["p"+i] = rotationY = 90;
>
> Fabrice
>
>
> On Feb 28, 2009, at 12:29 AM, Darcey wrote:
>
>
>> Hi,
>>
>> Is there a way of accessing each individual plane/segment plate
>> (unsure on name) of the sphere class (or any primitives), I would like
>> to be able to manipulate the location of each plane/segment. Would
>> this be possible on the cube class also?
>>
>> I am using the latest trunk.
>>
>> Thanks
>>
>> Darcey
>>
>
>


-- 
___________________

Actionscript 3.0 Flash 3D Graphics Engine

HTTP://AWAY3D.COM

Reply via email to