Hi,

I'm designing actionscript classes for a 3D engine.

At the moment I have a class called Object3D which contains all the 3D coordinates of a 3D object.

I also have a class called Face3D. This class holds the texturemap and movieClip instance which the texturemap gets drawn into.

In order for an instance of Face3D to draw itself correctly, it needs to use coordinates from an object3D instance......

What is the best way for me to access these coordinates from the Face3D class?

Should I just make the coordinates in the Object3D class public variables?

Ideally, both the Face3D class and Object3D class could share the same coordinate data. Maybe a separate class is needed for the coordinates?

Any suggestions and help would be most appreciated,
Cheers,
David