Hi!

I don't understand what kind of example you do exactly want, but if
you want to access the coordinates of a sphere try:
var mySphere:Sphere = new Sphere();
mySphere.position.x;

Same for Y and Z

Hope this helps!?


On 27 Mrz., 01:14, Shaun <[email protected]> wrote:
> I keep getting an error when I try to use view.camera.screen
> (my3Dmarker)
>
> I've got a point being generated (it's a sphere) and the x/y/z
> position for it
> shows up where I want the movieclip to show up.  I tried using
> point.position
> and point.x,point.y but they throw errors too.
>
> Can you show me a use case on this?
>
> On Feb 25, 10:12 am, Peter Kapelyan <[email protected]> wrote:
>
> > When you set up your markers in 3d space, you can place clips you added to
> > the stage using the 3d coordinates, something like this:
>
> > var 2d_coordinate:ScreenVertex = view.camera.screen(my3Dmarker);//where
> > my3Dmarkers is your point on the globe
> > myMovieClip.x = 2d_coordinate.x + view.x;
> > myMovieClip.y = 2d_coordinate.y + view.y;
>
> > Is this what you mean?
>
> > -Pete
>
> > On Wed, Feb 25, 2009 at 8:02 AM, Penang Student <[email protected]> wrote:
>
> > >http://www.gtrnissan.com/#...
>
> > > hi there,
>
> > > Please try the following website...Select the world of GTR , when you
> > > click the button that is square. What is the name of the
> > > function ?????
>
> > > Thank you
>
> > --
> > ___________________
>
> > Actionscript 3.0 Flash 3D Graphics Engine
>
> > HTTP://AWAY3D.COM

Reply via email to