Jerome - I'm not sure if I did not try that, but I will give it another shot and let you know. I know what parenting is - I've been doing 3d since 3dStudio early 90's.(and even earlier with Amiga cpus). Just new to away3d, which is a wonderful recent find for me.
Thanks - your help is greatly appreciated. I'll try again to make it work. Vic On Apr 3, 5:09 pm, elguapoloco <[email protected]> wrote: > Hi, > > satOne.rotationX = -25 is what is creating the wobble. This needs to > be applied to the main container. Then you offset the satellite object > (that is inside the main container) along the y axis to the distance > you need. Then you apply a rotationY or a yaw() on the satellite. At > that point the child object (the satellite) has no other rotations > applied to it and it should not wobble. The key is to keep the > container in the center. You do not move it. You move the satellite (a > child of that object). > > So to be clear in a setup with a container with a satellite as its > child: > - Rotation X is on the container. You can also apply a Y rotation on > the container to simulate orbiting the center. > - Y offset (Y move or the orbit distance) and Y rotation on the > satellite. > > Main container controls the rotation around the earth. Child or > Satellite controls the distance to the earth and spinning. To avoid > wobble only rotate the satellite around ONE axis the one used for the > distance! > > Trust me, this works! I used that setup for this > demo:http://www.wemakedotcoms.com/_projects/stc09/locationsMap/STC_Locatio... > Mouse over the red cubes to have them rotate as you need your > satellite to rotate. It's an old 3D trick, called parenting, to > achieve things like orbits. > > ath > > Jerome. -- To unsubscribe, reply using "remove me" as the subject.
