Author Topic: Inconsistent 3D object size with NGUI Sprite  (Read 7567 times)

weilies

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 21
    • View Profile
Inconsistent 3D object size with NGUI Sprite
« on: February 07, 2015, 07:36:19 PM »
Hi,

Plz checkout my screenshot. How could i make the object size consistent?
what i see in editor is different size from the simulator

Thanks

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Inconsistent 3D object size with NGUI Sprite
« Reply #1 on: February 08, 2015, 11:43:56 PM »
Change the camera's ortho size back to 1 and make sure it's an orthographic camera, not a perspective camera.

Nicki

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 33
  • -Receive: 141
  • Posts: 1,768
    • View Profile
Re: Inconsistent 3D object size with NGUI Sprite
« Reply #2 on: February 11, 2015, 07:00:16 PM »
They're likely being rendered by different cameras. The UI by the UICamera and the 3d planes by the mainCamera. Since they don't have the same settings they will look different in play view. Remember in the scene view, there's a different camera that sees all layers, so that will behave differently, since it has its own point of view.

weilies

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 21
    • View Profile
Re: Inconsistent 3D object size with NGUI Sprite
« Reply #3 on: February 11, 2015, 07:06:55 PM »
I am making a 2D game, can I safely say that, I can remove the default camera and put everything into the UI camera which generated by NGUI?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Inconsistent 3D object size with NGUI Sprite
« Reply #4 on: February 11, 2015, 09:41:13 PM »
Sure.