A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: Solarsystem

  1. #1
    Senior Member -Attila-Berlin-'s Avatar
    Join Date
    Nov 2002
    Posts
    181

    Solarsystem

    hello,

    I just created a kind of solarsystem: we have a sun with rotating planets. The prob is that they are on the same axe. The idea gave me the parent-child-relationship-tutorial on the swiftsite.
    I want them rotating idependently.

    Please help

    THX omitofo
    Attila

  2. #2
    Senior Member -Attila-Berlin-'s Avatar
    Join Date
    Nov 2002
    Posts
    181
    If u can't imagine what I mean and i know it is hard to imagine than here is the file: Lowrendered because of the filesize

    -Attila-
    Attached Files Attached Files

  3. #3
    Chief of Molecules wcoleman's Avatar
    Join Date
    Nov 2000
    Location
    Massachusetts
    Posts
    3,975
    Does www.wellesley.edu/Chemistry/Flick/rotate.html do what you are thinking about? For each sphere you can change the position of the sphere and the center of rotation and then either apply one of the standard paths to it or make your own path.

    Hope this helps,

    Flick

  4. #4
    Senior Member -Attila-Berlin-'s Avatar
    Join Date
    Nov 2002
    Posts
    181

    hmmm

    First: Thanks a lot, that is exactly what i wanted

    and now to my question: you center the sun in the middle and than surround it with other spheres and add to them a path - right?
    but how i can change the point of rotation if i add a path?
    I did it only with the parent-child-relationship so that i rotate the hole parent-object, which means every sphere.
    So, i do not now exactly how it could work

    Attila-

  5. #5
    ism BlinkOk's Avatar
    Join Date
    Aug 2001
    Location
    , location, location
    Posts
    5,002
    try not to use positioning at all. place the sun in your scene. then place your orbiting planet in your scene. the set the orbiting planet's pivot point to EXACTLY the same as the sun's pivot point. you can do this by noting the sun's pivot point (x/y/z) and then changing the planets pivot point x, y, z values to the same as the suns. The drag the rotation animation from the animation palette onto the planet.
    Graphics Attract, Motion Engages, Gameplay Addicts
    XP Pro | P4 2.8Ghz | 2Gb | 80Gb,40Gb | 128Mb DDR ATI Radeon 9800 Pro

  6. #6
    Senior Member -Attila-Berlin-'s Avatar
    Join Date
    Nov 2002
    Posts
    181

    ThX

    Thanks a lot BlinkOk, now I understand!

    O mi to fo
    Attila

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center