Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Planet to Space Transition zoom Animation

Discussion in 'Scripting' started by cartledgej, Apr 18, 2015.

  1. cartledgej

    cartledgej

    Joined:
    Apr 18, 2015
    Posts:
    4
    Hey all, i'm trying to get code to enable players of the rts game i'm developing to zoom in and out of a planet to space for the planetary combat, but not far out to see a star system/s.

    The concept is coming from multiple games they are as follows

    1). Star Wars: Empire at War; the concept for having Space and Planetary battles

    2). Anno 2070; the concept of Simultaneous battles in two environments

    3). Spore; being able to transfer the camera from planetside to space with camera

    4). Planetary Annihilation; a scale-down of the feature i'm going for

    If anyone is able to help, let me know and i greatly appreciate it.
     
  2. GroZZleR

    GroZZleR

    Joined:
    Feb 1, 2015
    Posts:
    3,201
    Depends on the level of accuracy and how much you want to fudge it. You could easily fake it by forcing the camera to pass through a layer of clouds (or blinded by heat), which then teleports your camera to another point in your scene where the space battle is ongoing.

    If you're looking for smooth atmosphere to planet transitions like Space Engine or No Man's Sky, you have a lot of research ahead of you.
     
  3. cartledgej

    cartledgej

    Joined:
    Apr 18, 2015
    Posts:
    4
    The teleport one, because Anno 2070 makes a beautiful transition bettween underwater to surface with a bubble-screen effect which i quite like.