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

rotate the object in 360 .scripting

Discussion in 'Scripting' started by pinnakam, Dec 15, 2017.

  1. pinnakam

    pinnakam

    Joined:
    Dec 12, 2017
    Posts:
    3
    1. Rotate 1 degree of the first Axis
    2. From that position, a full 360 rotation on the other Axis (so will rotate back to the same position at 1 Degree out)
    3. Rotate another Degree on the first Axis
    4. From that 2nd degree, rotate the other access 360 degrees again, etc...
    Repeat until you've rotated 360 degrees on every single degree rotation of the first axis
    SO that's the first thing to do
    After that, back from the original position, before anything had rotated on either Axis, zoom the camera in 1 pixel at a time until the screen is almost full with the object in view
    Then, go back out

    And that's the second set of actions

    Then, for the third set, keep it back at the original position, and change the brightness down until you can barely see anything, then back up until it's the brightest, etc...

    the 4th set would be the camera flys around the object around all sides, basically, have the camera orbit around
    During each of those operations, need to take screenshots and put them out to a directory as png files.
     
  2. methos5k

    methos5k

    Joined:
    Aug 3, 2015
    Posts:
    8,712
    So this is a double post. You should probably continue to read response from your original thread, and provide answers to those that asked you questions, etc..
    :)