Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

-Infinity problem scene window and the grid

Discussion in 'Immediate Mode GUI (IMGUI)' started by giancamati, Sep 2, 2010.

  1. giancamati

    giancamati

    Joined:
    Aug 4, 2010
    Posts:
    518
    Hello everybody,

    dunno what happened with the GUI but whenever I try to place the Main Camera (just the default one) in the 0,0,0 position this falls way far from the GRID in the scene. And whenever I move the camera back to the center of the grid I get "-Infinity, -Infinity, -Infinity" error.

    How comes?! Have I displaced the GRID by accident?

    Kind regards,
    Giancarlo
     
  2. andeeeee

    andeeeee

    Joined:
    Jul 19, 2005
    Posts:
    8,768
    Is this in gameplay or in the editor? If it's in gameplay then is the camera being moved by a script (please post it if so)?
     
  3. giancamati

    giancamati

    Joined:
    Aug 4, 2010
    Posts:
    518
    Nope it's in the editor.