ah I see,
yes you can access faces, vertices, uv's , material per face etc of any Mesh objects.
Look at Mesh and Geometry class doc or code.

Fabrice

On Feb 28, 2009, at 1:17 AM, Darcey Lloyd wrote:

Hi Fabrice,

Cheers for the info, but I guess I poorly worded what I need, apologies.

Take this image for example (something quickly googled):
http://www.yellowpipe.com/yis/tutorials/ps7/img/ps_3D_sphere/ps_3D_sphere05.jpg

Each white or blue square (plane) making up the sphere, I would like to manipulate each individual one.

Is this possible via the sphere class or would I need to construct a sphere out of planes?


Darceu



2009/2/27 Fabrice <[email protected]>

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



Reply via email to