Still very new to Away3D. But think what he means is you could create your object at the center of your globe (so just give it the same coördinates as the globe) and then you can position it form there along the x,y,z axes . U will probably have to use de radiant of the sphere as a parameter to position it right in top of your sphere.
Thats how i would do it. JJDF On Jan 20, 1:10 pm, Josh27 <[email protected]> wrote: > Hi > > Thank you for replying :) Am still not quite there with what you have > suggested... > > Are you suggesting that I create a new 3D object (the button) and add > it to the already created 3D globe? If so, how would I go about doing > this? > > Many Thanks > > Josh > > On Jan 19, 11:23 pm, Jensa <[email protected]> wrote: > > > Hi Josh, > > Here's a trick. To position an object on a sphere, you can add it to > > an ObjectContainer3D (that is positioned at the center of your earth) > > and move the object X units along the z-axis. By just rotating the > > ObjectContainer3D along x/y/z, you can now position your object > > anywhere around the earth. > > > To listen for Mouse clicks, just add a standard event listener: > > object.addEventListener(MouseEvent3D.MOUSE_DOWN, someFunctionToCall); > > > J
